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.

Solved: thumbnails not shown

  • Andreas Kunz
  • Andreas Kunz's Avatar Topic Author
  • Offline
  • New Member
More
16 years 3 months ago - 16 years 3 months ago #17894 by Andreas Kunz
Solved: thumbnails not shown was created by Andreas Kunz
Hello,
i do have the following problem with SIG pro:
The thumbnails are created in temp-folder, but they do have chmod 600. After changing manual in readable, everything works correct until new temp images are created, because these get chmod 600 once again.
Is there anything i can do to solve this?
Thank you,
Andy

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 3 months ago #17895 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: thumbnails not shown
Hi my friend!

I'm afraid this is permissions issue... You need to set the php in mode that any user can execute the task under his permissions and not under "nobody".

It's better you contact your server administrator to help you on that!

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.

  • Andreas Kunz
  • Andreas Kunz's Avatar Topic Author
  • Offline
  • New Member
More
16 years 3 months ago #17896 by Andreas Kunz
Replied by Andreas Kunz on topic Solved: thumbnails not shown
Thank you for your reply.
If somebody has the same problem, here's a way i did solve it:
in sigproengine.php
to find in /mambots/content/plugin_jw_sigpro/ under joomla 1.0
or in /plugins/content/jwsigpro/ with joomla 1.5
add the following line near the end of the file:


    ...
old:    $this->SaveImage($ni, $to_name);
new:    chmod($to_name, 0644);
old:  }
old:
old: }
old:
old: ?>


I had to do this, as every file published in a temp or tmp directory is at first published without public reading-rights.

Hope i could help somebody by this,
Andy

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

  • Hj Izad Rithauddin Hj Abd Majid
  • Hj Izad Rithauddin Hj Abd Majid's Avatar
  • Offline
  • New Member
More
16 years 3 months ago #17897 by Hj Izad Rithauddin Hj Abd Majid
Replied by Hj Izad Rithauddin Hj Abd Majid on topic Re: Solved: thumbnails not shown
I tried what you suggested, added to the sigengine_pro.php. After that, my website gone blank.

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

  • Andreas Kunz
  • Andreas Kunz's Avatar Topic Author
  • Offline
  • New Member
More
16 years 3 months ago #17898 by Andreas Kunz
Replied by Andreas Kunz on topic Re: Solved: thumbnails not shown
You left "old:" and "new:" away, I hope.
Also you seem to have another version, i don't have a sigengine_pro.php

This "fix" only helps if
- the images in the temporary folder are (!) created by simple image gallery pro
- the images have the wrong chmod of 600 instead of 644 and therefore aren't displayed
I'm not a good coder, but it did help with my site, that is.

The additional line only changes the chmod of the thumbnails directly after they are created. I don't know what happens, if the file was not created before, but I could imagine the script stops with an error, as there is no file to chmod. Only delete the above line and everything should be as before.
If the thumbnails aren't created, there might be missing write-right.
Try to chmod the temporary directory of your thumbnails to 744 or 774.

Hope that works for you

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 2 months ago #17899 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Solved: thumbnails not shown
Of course the "chmod" command will resolve the problem!  :)
Nice catch kunz.andy!

I proposed to resolve this issue from the server, because the same problem will
have all the components that are installed with the specific user.

Also, I'm not sure if the script will be ok under ISS.

But it's ok! I agree for a quick fix!

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.

  • Hj Izad Rithauddin Hj Abd Majid
  • Hj Izad Rithauddin Hj Abd Majid's Avatar
  • Offline
  • New Member
More
16 years 2 months ago #17900 by Hj Izad Rithauddin Hj Abd Majid
Replied by Hj Izad Rithauddin Hj Abd Majid on topic Re: Solved: thumbnails not shown
the "error creating thumbnail" issue has not gone. It was fine for me last few months. I have been reading the threads about this. I have tried changing to CHMOD to 777 and my server should support GD. I still cant get this solved. Should I make a temp folder as suggested here? My website is www.zadm.net

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 2 months ago #17901 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Solved: thumbnails not shown
Hi my friend!

Can you please post a direct link to the exactly gallery where I can see the problem?
I have just seen the page
zadm.net/index.php?option=com_content&task=view&id=53&Itemid=41
and I can see a working sig pro gallery.

You can change the temp folder, or delete and re-create it!

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.

  • Hj Izad Rithauddin Hj Abd Majid
  • Hj Izad Rithauddin Hj Abd Majid's Avatar
  • Offline
  • New Member
More
16 years 2 months ago #17902 by Hj Izad Rithauddin Hj Abd Majid
Replied by Hj Izad Rithauddin Hj Abd Majid on topic Re: Solved: thumbnails not shown
problem almost solved, it was my fault from the very start. I did not create temp folder in my images directory. And since that is solved i got this error from this web page.

zadm.net/index.php?option=com_content&task=view&id=67&Itemid=41

how to fix this? is it chmod issue again?

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 2 months ago #17903 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Solved: thumbnails not shown
Hi my friend!

Hmmm, at the page source, for the first thumb we have the original image
http://www.zadm.net/images/stories/wedding/M_H/M_H1.jpg

But when I try to see it throw the browser, your server returns this error

Internet Explorer cannot display the webpage


Can you please check the integrity of the images?

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