Problems, need help? Have a tip or advice? Post it here.
10 posts Page 1 of 1
Hi there!
I'm following your tutorial and am getting really excited of the product!
There's just one issue I'm having, where clicking on "Image Thumbnail" where I get a popup that keeps loading, also on the portfolio website, it doesn´t show the thumbnails.

Is there something I´m missing? Is this a known bug?

Cheers,
Jax
Hello and welcome, Jax :)

The 'thumbnail' editable region is not a standalone region and is always associated to another region of type 'image'.
Once the parent 'image' region holds an image, in the process of saving the page the 'thumbnail' region takes data from its parent and creates a separate thumbnail image.

So, if
1. the parent 'image' region holds an image (a local one) and
2. you have saved the page
then you should see the thumbnail instead of the placeholder.

Can you please verify the above points and let me know if you still get the placeholder instead?

Thanks.
Hi!
Thank you for your quick reply, I was a bit busy this weekend to check back,
but the part you are describing doesn't seem to work. I've uploaded an image, checked the website to see if it was live, it was, headed back to the admin area and checked the specific page, but still no thumbnail.. :(

Image
OK. This is a little strange as normally this problem is permission related but then even the main image should have been affected (which is clearly not the case here).

Could you grant me FTP+Couch access to your site please? Allow me to take a look at the issue.
Hey!
I'm actually using Heroku, so don't have the FTP-credentials.

I think then a possible cause for the problem could be the GD library required for creating the thumbnails.

A quick search on Google showed up a few suggestions -
http://stackoverflow.com/questions/1484 ... tefromjpeg
http://stackoverflow.com/questions/1756 ... e-fromjpeg

Hope it helps.

P.S. To aid in debugging, you can put the following in any of your templates and see if GD library is available or not in your PHP installation
Code: Select all
<?php
    phpinfo();
?>
That fixed it!
Thanks :)
You are welcome :)
Is there a way that Couch will also create a thumbnail is the image is hot-linked instead of uploaded?
I'm afraid, no. Couch will process only locally uploaded images.
JaxDaniels wrote: Is there a way that Couch will also create a thumbnail is the image is hot-linked instead of uploaded?


Hi Jax,

There is another method too of creating thumbnails in couchcms, using <cms:humbnail> tag, you can read more about it here "http://www.couchcms.com/docs/tags-reference/thumbnail-1.html"

But as far as your query goes, you need to have the the image uploaded in the "/couch/uploads/image" folder to be able to create a thumbnail of the image.

Proof of Concept: If you try to do it still, you will get the error shown in the attached image below.
3.png
3.png (16.48 KiB) Viewed 2980 times


Regards,
GenXCoders
Image
where innovation meets technology
10 posts Page 1 of 1