Image Manager no thumbs

Admiror Gallery is free extension for Joomla! 1.6. Joomla! 1.7 and Joomla! 2.5 based websites. Admiror Gallery is all in one, a simple and instant solution for rendering image gallery from folder with images, but very flexible and adaptable.
Post Reply
Message
Author
agorman
Posts: 5
Joined: Sat Mar 01, 2014 5:52 pm

Image Manager no thumbs

#1 Post by agorman »

Hi Can anyone tell me how to get the thumbs to show in image manager ? (everything else about the wonderful plug in works fine)
Attahed is an image of what I see.
Attachments
image manager.JPG
image manager.JPG (74.08 KiB) Viewed 20454 times

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Image Manager no thumbs

#2 Post by Vasiljevski »

Hmm, that is strange.
What Joomla version are you using? On what OS do you run it?
What happens if you add menu item of Image Manager type?
Do you have the same problem when accessing Image Manager from front end?

It might be some path issue, probably. I'm not sure.
Help Admiror Gallery become even better,
give us a review on JED

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Image Manager no thumbs

#3 Post by Vasiljevski »

http://www.vasiljevski.com/forum/viewto ... 3501#p3501
Here is a similar issue, don't know if suggested solution worked as the user never replayed.
Help Admiror Gallery become even better,
give us a review on JED

agorman
Posts: 5
Joined: Sat Mar 01, 2014 5:52 pm

Re: Image Manager no thumbs

#4 Post by agorman »

hi again, Thank you for your response.

My root images directory and /images/albums directory are both 755

Answers to some of your questions

I am using Joomla 2.5.18, and it is hosted on an Linux OS Apache 2 and php version is 5.3.3
I am the only user.

When I upload an image via Joomla interface all works fine and the image is also seen on the front end (as are all of the others), http://www.realitytherapy-europe.org/in ... article-19 .

But in the image manager the broken icon thumb is the same as all other others.

I might try uninstalling / reinstalling the plugin to see what difference that makes.

UPDATE: I have uninstalled/reinstalled but with no difference. - the add/delete options in the image manager work fine, so all seems okay except for the image thumbs.

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Image Manager no thumbs

#5 Post by Vasiljevski »

No need to uninstall/install the component.

I tested here on my Virtual machine, I did not have any problems with Image Manager.

Can you check if there is any thumbnail in "administrator/components/com_admirorgallery/assets/thumbs"?
If thumbnails are missing, check you server error log (PHP and Apache) there should be an error that should give us some more clue on what seems to be the problem.
Help Admiror Gallery become even better,
give us a review on JED

Admiror Gallery 5 - Fundraising Campaign

agorman
Posts: 5
Joined: Sat Mar 01, 2014 5:52 pm

Re: Image Manager no thumbs

#6 Post by agorman »

Hi again,

There are no thumbs in the "administrator/components/com_admirorgallery/assets" directory.

I do not know how to access the server error log (PHP and Apache)

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Image Manager no thumbs

#7 Post by Vasiljevski »

Do you, maybe have some extra protection for administrator folder that could prevent script from outside it to access files that are located in administrator folder?

Anyhow, in file administrator\components\com_admirorgallery\views\imagemanager\scripts\imgManager-render-folder.php line: 371:

Code: Select all

        agHelper::ag_createThumb(JPATH_SITE . $ag_itemURL . $value, $thumbsFolderPhysicalPath . DS . $value, 145, 80, "none");
From what you said this function fails to create the thumbnails.
For further investigation, you could check \plugins\content\admirorgallery\admirorgallery\classes\agHelper.php line 333 and see why does it fail to create the thumbnails. Just remove @ from each line in this function, and open Image Manager, you should see a Notice or Error at the top of the page that will give more info.
Just for reference, @ suppresses any error in PHP.
Help Admiror Gallery become even better,
give us a review on JED

agorman
Posts: 5
Joined: Sat Mar 01, 2014 5:52 pm

Re: Image Manager no thumbs

#8 Post by agorman »

First of all thank you for your time spent on this - I really appreciate it.

The imgManager-render-folder.php line: 371: agHelper::ag_createThumb(JPATH_SITE . $ag_itemURL . $value, $thumbsFolderPhysicalPath . DS . $value, 145, 80, "none"); is the same as your posting.

I am not sure which @ symbols on which lines I need to remove - I removed them from lines 343, 345, 347, but there is no error message in the image galery. Maybe I am removing the wrong things - should I continue down and remove all @ symbols (if so, up to which line) ? Below is a capture of my coding.
Attachments
php.JPG
php.JPG (81.76 KiB) Viewed 20430 times

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: Image Manager no thumbs

#9 Post by Vasiljevski »

Is there a way to let me access your admin and check this issue?

In general remove all "@" in that function, to see what fails.
You should check your Hosting control panel, for Error log, that would help.
Help Admiror Gallery become even better,
give us a review on JED

Admiror Gallery 5 - Fundraising Campaign

agorman
Posts: 5
Joined: Sat Mar 01, 2014 5:52 pm

Re: Image Manager no thumbs

#10 Post by agorman »

Thank you Nicola for all your help.

Post Reply