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.

SIG Pro is very slow

  • Zoltan Babak
  • Zoltan Babak's Avatar Topic Author
  • Offline
  • New Member
More
17 years 4 months ago #5781 by Zoltan Babak
SIG Pro is very slow was created by Zoltan Babak
Hi,

I've installed SIG Pro, but in single thunbnail mode, when you say that I can use more images, it is too slow. It seems that it makes all the thumbnails, instead of making only one, and make all the others on the fly. Sometimes I have to put more than 100 images into one gallery. Solution?

Another question. Do you plan to extend the order the apperance to display the images stated in the labels.txt? It would be nice.

Babak Zoltan

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

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
17 years 4 months ago #5782 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: SIG Pro is very slow
Hi there!

About the first question, try to do this
At the line 285, change the code
// create thumbnails
if (file_exists($tempfolder.md5($_images_dir_.$name).$format) && filemtime ($tempfolder.md5($_images_dir_.$name).$format) + $cache_expire_time * 60 > time()) {
.....................................
$html .='<span>Error creating thumbnail!</span>';
}
to
// create thumbnails
if(($_howmanythumbs_ && $a<1) || ($_howmanythumbs_==0)) {
if (file_exists($tempfolder.md5($_images_dir_.$name).$format) && filemtime ($tempfolder.md5($_images_dir_.$name).$format) + $cache_expire_time * 60 > time()) {
.....................................
$html .='<span>Error creating thumbnail!</span>';
}
}

and come back to tell us if work for you!  :)

About the second question, yes, it is in our plans for the next version!  ;)

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

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

  • Zoltan Babak
  • Zoltan Babak's Avatar Topic Author
  • Offline
  • New Member
More
17 years 4 months ago #5783 by Zoltan Babak
Replied by Zoltan Babak on topic Re: SIG Pro is very slow
Great! It seems to be work. Thanks.

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

More
17 years 4 months ago #5784 by dankbeme
Replied by dankbeme on topic Re: SIG Pro is VERY slow
Can you email the page with this fix? 
When I try to do this I get:  Parse error: syntax error, unexpected $end in /home/vadaemma/public_html/mambots/content/plugin_jw_sigpro.php on line 340

And it shuts down the entire site...  HELP!

Hi there!

About the first question, try to do this
At the line 285, change the code

// create thumbnails
if (file_exists($tempfolder.md5($_images_dir_.$name).$format) && filemtime ($tempfolder.md5($_images_dir_.$name).$format) + $cache_expire_time * 60 > time()) {
.....................................
$html .='<span>Error creating thumbnail!</span>';
}
to
// create thumbnails
if(($_howmanythumbs_ && $a<1) || ($_howmanythumbs_==0)) {
if (file_exists($tempfolder.md5($_images_dir_.$name).$format) && filemtime ($tempfolder.md5($_images_dir_.$name).$format) + $cache_expire_time * 60 > time()) {
.....................................
$html .='<span>Error creating thumbnail!</span>';
}
}

and come back to tell us if work for you!  :)

About the second question, yes, it is in our plans for the next version!  ;)

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

More
17 years 4 months ago #5785 by JoomlaWorks
Replied by JoomlaWorks on topic Re: SIG Pro is very slow
Please, contact JoomlaWorks support and request the fix in person.

Fotis / 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