1

Topic: Purpose of using thumbnails

Hi,

I have the required options set in the config in order to create thumbnails when I upload an image. I've kept the config details pretty much as they were specified in config.php

$mcImageManagerConfig['thumbnail.gd.enabled'] = true;
$mcImageManagerConfig['thumbnail.gd.auto_generate'] = true;
$mcImageManagerConfig['thumbnail.gd.folder'] = "mcith";
$mcImageManagerConfig['thumbnail.gd.prefix'] = "mcith_";

$mcImageManagerConfig['upload.create_thumbnail'] = true;

I can see the thumbnail image created (eg mcith_myimage.jpg) in the mcith folder, however I'm not sure where this thumbnail image is actually used. I'm assuming that the newly created thumbnail image (mcith_myimage.jpg) is used  in the main image manager screen (that shows the preview of the images for the currently selected directory) rather than create the thumbnail image on the fly from the image (myimage.jpg) that was uploaded.

Can you confirm this assumption. The reason I ask is, that when I "View Source" on the image manager screen, I don't see the file name "mcith_myimage.jpg" referenced. Possibly this is being dynamically added to the HTML with JavaScript, but I'm not sure.

Thanks,
Stuart.

2

Re: Purpose of using thumbnails

It might look a little strange when taking view source, but if you rightclick on the image and choose properties, you should see the correct path to the image (at least in firefox).

Should look something like this:
http://tinymce.moxiecode.com/imagemanag … mp;ext=jpg

Copy & Paste that into your browser window, it should show the thumbnail (exact same size as in main window) or the original image if the thumbnail generation has failed for some reason.

Afraithe
TinyMCE Developer
Moxiecode Systems

3

Re: Purpose of using thumbnails

Thanks. I reviewed thumbnail.php and now understand how this works.

Cheers.