Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Thumbnail Cache

  • omaigad
  • omaigad's Avatar Topic Author
  • Offline
  • New Member
More
16 years 5 months ago #9001 by omaigad
Thumbnail Cache was created by omaigad
why does SIG every time recreates thumbnails, even if you set up to single thumbnail option it recreates every single pictures thumbnail? is there a way to fix this or its a "feature" ?

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 5 months ago - 16 years 5 months ago #9002 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Thumbnail Cache
Hi my friend!

Check if in the file plugin_jw_sigpro.php exist the code
// create thumbnails
if (file_exists($mosConfig_absolute_path.$tempfolder.md5($_images_dir_.$name).$format) && filemtime ($mosConfig_absolute_path.$tempfolder.md5($_images_dir_.$name).$format) + $cache_expire_time * 60 > time()) {
  $html .= $leftcomment.'<img alt="'.$clickopen.'" title="'.$clickopen.'" src="'.$tempfolder.md5($_images_dir_.$name).$format.'" />'.$rightcomment;
}

if exist, replace it with
// create thumbnails
if (file_exists($mosConfig_absolute_path.$tempfolder.md5($_images_dir_.$name).".".$format) && filemtime ($mosConfig_absolute_path.$tempfolder.md5($_images_dir_.$name).".".$format) + $cache_expire_time * 60 > time()) {
  $html .= $leftcomment.'<img alt="'.$clickopen.'" title="'.$clickopen.'" src="'.$mosConfig_live_site.$tempfolder.md5($_images_dir_.$name).".".$format.'" />'.$rightcomment;
}

Hope this work for you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • omaigad
  • omaigad's Avatar Topic Author
  • Offline
  • New Member
More
16 years 5 months ago #9003 by omaigad
Replied by omaigad on topic Re: Thumbnail Cache
thx, i did what you said, but it didn't worked, but i noticed that it kinda worked till thumbnails were deleted manually.When they were generated again its same story again SIG is creating thumbnails for every picture every time it loads.

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 5 months ago #9004 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Thumbnail Cache
Strange! ???

Can you give me a link to see it in action?!

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum