I'm encountering errors while trying to create thumbnails in phpWCMS RC-4 June 28th version.
First, how can I determine if an image has a thumbnail for it?
When I click on "thumbnail" in Mozilla Firefox, I get stuck in a loop where the page that reads, "creating thumbnail, please wait" reloads itself again and again forever. If I go into IE Explorer and click on "thumbnail" button, it tells me to wait, then takes me to a page that reads "Index of /include/inc_act" and has a listing of the files in that directory.
If I go to File: Public, and view the files as a list, there is no "thumbnail" button next to any file that I've uploaded-- does that mean that a thumbnail has already been created?
Are thumbnails created automatically when you upload? Is there any time when a thumbnail is not created automatically?
problem creating thumbnails
problem creating thumbnails
To fathom hell or soar angelic...
Re: problem creating thumbnails
There would be a thumbnail beneath the filename in file center.Nate wrote:I'm encountering errors while trying to create thumbnails in phpWCMS RC-4 June 28th version.
First, how can I determine if an image has a thumbnail for it?
Firefox works fine with thumbnail creation for me. Sounds more like configuration and/or permissions issue.Nate wrote:When I click on "thumbnail" in Mozilla Firefox, I get stuck in a loop where the page that reads, "creating thumbnail, please wait" reloads itself again and again forever. If I go into IE Explorer and click on "thumbnail" button, it tells me to wait, then takes me to a page that reads "Index of /include/inc_act" and has a listing of the files in that directory.
Forget the Public (those are just files that you have "marked" <public> via checkbox,out of -all- your files, to be made available to other backend users for use in the webdesign.Nate wrote:If I go to File: Public, and view the files as a list, there is no "thumbnail" button next to any file that I've uploaded-- does that mean that a thumbnail has already been created?
The <Create thumbnail> button is in the "edit file information" screen after you click <edit> button to the right of a filename in file center. If a thumbnail were created... you'd see it in file center.
NO.Nate wrote:Are thumbnails created automatically when you upload? Is there any time when a thumbnail is not created automatically?
You would normally upload via FTP your graphic file to directory named "phpwcms_ftp". Then use <ftp takeover> button in Files to select all or some of them for inclusion in website usage. You can select checkbox -there- to create thumbnails for all (as they are brought over) -OR- else it will just transfer the files into the system and result in a list of filenames that you must individually chose Edit button and create thumbnails one by one.
Your problems sound like paths, config, or options not being correct.
You should determine which graphical support options you have by using phpinfo(). If you have GD1/GD2 or Imagemagick, the enabling of those is set via options in "config.inc.php":
Code: Select all
// other stuff
$phpwcms["imagick"] = 0; //if 0 = use GD, 1 = use ImageMagick convert, 2 = use ImageMagick 4.2.9
$phpwcms["imagick_path"] = ""; //Path to ImageMagick
$phpwcms["use_gd2"] = 1; //if 0 = GD1, 1 = GD2
-Thumbnails wind up in directory named "phpwcms_tmp/thumb_preview"you have to check access rights for special files and folders.
1) DIR phpwcms_tmp/thumb_list 777
2) DIR phpwcms_tmp/thumb_preview 777
3) DIR phpwcms_ftp 777
4) DIR phpwcms_filestorage/1...10 777
5) DIR content/images 777
6) FILE setup/setup.conf.inc.php 666
7) FILE phpwcms_template/inc_css/frontend.css 666
FILE phpwcms_template/inc_default/startup.html 666
All other files listed above can set to 644, directories to 755. Sometimes it can help to set mode to 766 for the following directories: phpwcms_tmp, phpwcms_template, phpwcms_ftptakeover, inc_css, content. If you have further access problems try to set all files and directories to 777 (not recommend).
-Images wind up in directory named "phpwcms/phpwcms_filestorage/1" (for webmaster), "phpwcms/phpwcms_filestorage/2" for second user, etc.
-Filenames do not match those in File center. Instead names like "1_47.png" for actual images and "1_47_BtnW5XUMeO.png" for the thumbnail.