Cannot create thumbnails!

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
girgis77
Posts: 5
Joined: Mon Jan 21, 2013 5:35 pm

Cannot create thumbnails!

#1 Post by girgis77 »

Hi, when i try to insert a gallery using the button on the editor i get this error

Cannot create thumbnails!
Width and height must be greater then 0
Admiror Gallery: 4.5.0
Server OS:Apache
Client OS:Windows NT 4.0
PHP:5.2.17

you can see live website here
http://justegypttours.com/en/#

Thanks for support!

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: Cannot create thumbnails!

#2 Post by Vasiljevski »

I cannot find where is the problematic page, so I guess that you fixed the problem :)

On you Photo Gallery page, you have albums and when I open an album I have thumbs folder also. I guess that some other plugin created it. You can remove it :)
Help Admiror Gallery become even better,
give us a review on JED

girgis77
Posts: 5
Joined: Mon Jan 21, 2013 5:35 pm

Re: Cannot create thumbnails!

#3 Post by girgis77 »

sorry i disabled the module, i will enable it again, thanks

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

Re: Cannot create thumbnails!

#4 Post by Vasiljevski »

I cannot reproduce the same error at my side, so I need some more info from you to resolve the problem :)

Can you copy me the text that is added to the article when you use Admiror Button?

Is it just:

Code: Select all

{AG}path{/AG}
or something like this:

Code: Select all

{AG rootFolder="/images/sampledata/" thumbWidth="200" thumbHeight="120" thumbAutoSize="none" arrange="priority" backgroundColor="ffffff" foregroundColor="808080" highliteColor="fea804" frame_width="500" frame_height="300" newImageTag="1" newImageTag_days="7" paginUse="1" paginImagesPerGallery="2" albumUse="1" showSignature="1" plainTextCaptions="1" ignoreError="1" ignoreAllError="0" template="classic" popupEngine="slimbox"}parks\landscape{/AG}
You said that you load the plugin within the module, is it some standard module that comes with Joomla or an extension from Joomla Extensions site?

We have a bug on Windows servers when adding gallery using Admiror Button. It adds '\' instead of '/' for directory separator. So if you are adding a images like the second example, you need to change the part "parks\landscape" to "parks/landscape"

Also I want to thank you, I wouldn't discover this bug with Admiror Button without you :)
Help Admiror Gallery become even better,
give us a review on JED

girgis77
Posts: 5
Joined: Mon Jan 21, 2013 5:35 pm

Re: Cannot create thumbnails!

#5 Post by girgis77 »

Hi, thanks for your help.
I use custom HTML module and here is the code that was inserted into it using the button

{AG rootFolder="/images/sliders" thumbWidth="200" thumbHeight="120" thumbAutoSize="none" arrange="priority" backgroundColor="021325" foregroundColor="808080" highliteColor="fea804" frame_width="500" frame_height="300" newImageTag="1" newImageTag_days="7" paginUse="1" paginImagesPerGallery="10" albumUse="1" showSignature="1" plainTextCaptions="1" ignoreError="1" ignoreAllError="0" template="galleryView" popupEngine="fancybox"}Just Egypt Photos{/AG}

im on Linux not windows

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: Cannot create thumbnails!

#6 Post by Vasiljevski »

Hmmm, this is strange, at my side everything is working OK.

I also added Custom HTML under my top menu, gallery is shown.

In general problem is, as it says, with parameters. For some reason parameters are not read correctly. But because width and height are the most important ones, gallery stops if they are 0.

Sorry, but without access to your back-end it is hard to find what is the problem.

If you have the time and will I can instruct you to add some prints in the gallery code so I could get more info on this issue and hopefully resolve it. But I will understand if you don't :)
Help Admiror Gallery become even better,
give us a review on JED

girgis77
Posts: 5
Joined: Mon Jan 21, 2013 5:35 pm

Re: Cannot create thumbnails!

#7 Post by girgis77 »

thanks a lot for your help, i can send you access info to back end but where can i send you a private message on this forum

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

Re: Cannot create thumbnails!

#8 Post by Vasiljevski »

It is best to send it by mail, you can find it in my info.
Help Admiror Gallery become even better,
give us a review on JED

girgis77
Posts: 5
Joined: Mon Jan 21, 2013 5:35 pm

Re: Cannot create thumbnails!

#9 Post by girgis77 »

ok i sent it to the hotmail account, thanks

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: Cannot create thumbnails!

#10 Post by Vasiljevski »

Well the problem you have is caused by your editor JoomlaCK. When you add the code by using Admiror Button it all looks fine, but the editor is converting it to :

<p>
{AG rootFolder="/images/sliders" thumbWidth="200" thumbHeight="120" thumbAutoSize="none" arrange="priority" backgroundColor="021325" foregroundColor="808080" highliteColor="fea804" frame_width="500" frame_height="300" newImageTag="1" newImageTag_days="7" paginUse="1" paginImagesPerGallery="10" albumUse="1" showSignature="1" plainTextCaptions="1" ignoreError="1" ignoreAllError="0" template="galleryView" popupEngine="fancybox"}Just Egypt Photos/Aswan{/AG}</p>

You can see it by pressing Source button in the upper left corner of editors toolbox.
If you switch to Source view, than Admiror Button, for some reason, will not insert the code.

So you should add the gallery in the normal view, copy the text, switch to Source view, paste it and save.
Help Admiror Gallery become even better,
give us a review on JED

Post Reply