Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post FAP SUPPORT - Only Png Mid Thumbnails Cached, No Jpg Thumbnails 
 
Hello,

Mid thumbnails are not cached correctly. Specifically, only png files are cached. Jpg files are not cached in mid thumbnail. So my mid thumbnail med_cache folder only has png files.

On the contrary, my small thumbnails cache correctly, both jpg and png files. So the cache directory is full of both png and jpg files.

There is no problem displaying all thumbnails, mid and small. Only caching of mid jpg thumbnails is the problem.

Anyone has any fix for this?
 



 
sharkattaqSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Only Png Mid Thumbnails Cached, No Jpg Thumbnails 
 
Are you sure your JPG files are larger than the mid thumb size specified in ACP?

If actual JPG file is smaller than thumb size it should not be cached.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Only Png Mid Thumbnails Cached, No Jpg Thumbnails 
 
Yes, absolutely. My gallery has hundreds of very large pics. In the med_cache directory, however, there are only a few tens of mid thumbs, only png for the png photos of my gallery.
 



 
sharkattaqSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Only Png Mid Thumbnails Cached, No Jpg Thumbnails 
 
Please provide me a link to the gallery.

Thanks.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Only Png Mid Thumbnails Cached, No Jpg Thumbnails 
 
I am sending you a PM.
 



 
sharkattaqSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Only Png Mid Thumbnails Cached, No Jpg Thumbnails 
 
I fixed this.

file album_picm.php line 423

Changed this line from

Code: [Download] [Hide] [Select]
            $Image->SendToFile($pic_thumbnail_new_fullpath, $album_config['thumbnail_quality']);


to

Code: [Download] [Hide] [Select]
            if ($pic_filetype == '.jpg')
            {
                $Image->SendToFileJPG($pic_thumbnail_new_fullpath, $album_config['thumbnail_quality']);            }
            else
            {
                $Image->SendToFile($pic_thumbnail_new_fullpath, $album_config['thumbnail_quality']);    
            }

 



 
sharkattaqSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Only Png Mid Thumbnails Cached, No Jpg Thumbnails 
 
I thought I had already fixed that...

Anyway I might be wrong, because I'm not working on FAP for phpBB any more. I'm sure I have fixed that in Icy Phoenix FAP.

Since it seems you are good with PHP, should you need something else about thumbnails or album you can try to have a look at Icy Phoenix album code which includes an enhanced version of the old FAP.

Glad you solved your issue.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Only Png Mid Thumbnails Cached, No Jpg Thumbnails 
 
Thanks.

I didn't know that standalone FAP and IP FAP had many differences. From what I understand standalone FAP was stopped 2 years ago while IP FAP is still being evolved and fixed?

If we get IP FAP files to replace standalone FAP, does it work or are there too many differences?


PS: Checked and you were right. FAP code is not fixed, IP code had it fixed
 



 
sharkattaqSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Only Png Mid Thumbnails Cached, No Jpg Thumbnails 
 
sharkattaq wrote: [View Post]
If we get IP FAP files to replace standalone FAP, does it work or are there too many differences?

I think it is not worth doing that, since it could require a lot of work... I have also used some IP specific functions in latest FAP which won't work in phpBB 2 unless you port them.

If you are ok with how FAP works now just stick with that. The only alternative I would consider is moving to phpBB 3 or Icy Phoenix.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Only Png Mid Thumbnails Cached, No Jpg Thumbnails 
 
FAP is great the way it is. Actually, it took some modding here and there to bring it how I wanted but now it's just great.
 



 
sharkattaqSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Only Png Mid Thumbnails Cached, No Jpg Thumbnails 
 
Thanks, I appreciate.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron