thumbs folder empty
capslock 0
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: thumbs folder empty
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
thumbs folder empty
With a small modification. Here an example to change the 300% option to 400%.
Open cadmin/mod_admin.php and find:
Replace this line with:
With a small modification. Here an example to change the 300% option to 400%.
Open cadmin/mod_admin.php and find:
($configs[13] == "2") ? $option = "<option selected value="2">- 200%</option><option value="3">- 300%</option>" : $option = "<option value="2">- 200%</option><option selected value="3">- 300%</option>";
Replace this line with:
($configs[13] == "2") ? $option = "<option selected value="2">- 200%</option><option value="4">- 400%</option>" : $option = "<option value="2">- 200%</option><option selected value="4">- 400%</option>";
1 Re: thumbs folder empty
insanetek 0
From: -
From: -
thumbs folder empty
Well it works now. I chmodded each thumbs folder again and the thumbs are created. Thank you for your help Philipp.
Is there any way to make the thumbs even smaller than the maximum 300%?
Well it works now. I chmodded each thumbs folder again and the thumbs are created. Thank you for your help Philipp.
Is there any way to make the thumbs even smaller than the maximum 300%?
1 Re: thumbs folder empty
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
thumbs folder empty
Here a script to check the permissions of the thumbs directories:
Place this script in your Storyteller main directory and run it from your browser. This script will try to write a test file (test.txt) in each thumbs directory.
Here a script to check the permissions of the thumbs directories:
<?php
echo "Checking permissions:<br>";
$dirs = array("news", "faq", "review", "downloads");
foreach ($dirs as $dir)
{
$file = @fopen("images/$dir/thumbs/test.txt", "w") or die ("Error: Can not write to images/$dir/thumbs/ directory.");
fputs ($file, "This is a test. You can remove this file again.");
fclose ($file);
echo "Wrote images/$dir/thumbs/test.txt<br />";
}
?>
Place this script in your Storyteller main directory and run it from your browser. This script will try to write a test file (test.txt) in each thumbs directory.
1 Re: thumbs folder empty
insanetek 0
From: -
From: -
thumbs folder empty
I created the directories because they weren't present and chmodded them 777 but when I add pictures the thumbs still aren't being created.
I created the directories because they weren't present and chmodded them 777 but when I add pictures the thumbs still aren't being created.
1 Re: thumbs folder empty
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
thumbs folder empty
The thumbs folders are located inside of the news, faq, review, and download image folders:
/images/news/thumbs
/images/faq/thumbs
/images/review/thumbs
/images/downloads/thumbs
The thumbs folders are located inside of the news, faq, review, and download image folders:
/images/news/thumbs
/images/faq/thumbs
/images/review/thumbs
/images/downloads/thumbs
1 Re: thumbs folder empty
insanetek 0
From: -
From: -
thumbs folder empty
I don't have a thumbs folder. I chmodded the whole images folder with the recursive option and they still aren't being created.
Where should the thumbs folder be?
I don't have a thumbs folder. I chmodded the whole images folder with the recursive option and they still aren't being created.
Where should the thumbs folder be?
1 Re: thumbs folder empty
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
thumbs folder empty
No, thumbnails should work with your GD version. Perhaps a permission problem? Please try to chmod 777 the thumbs folders.
No, thumbnails should work with your GD version. Perhaps a permission problem? Please try to chmod 777 the thumbs folders.
1 Re: thumbs folder empty
insanetek 0
From: -
From: -
thumbs folder empty
I tried the work-around but it didn't help. Thumbs still aren't being created. The links to the full image work fine though. Any other things I could try? Do I need to have anything other than gd/2 installed like Image Magick?
This is pasted from my current PHP config:
PHP Version 4.3.10
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
I tried the work-around but it didn't help. Thumbs still aren't being created. The links to the full image work fine though. Any other things I could try? Do I need to have anything other than gd/2 installed like Image Magick?
This is pasted from my current PHP config:
PHP Version 4.3.10
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
1 Re: thumbs folder empty
capslock
OP
0
From: -
From: -
thumbs folder empty
thank you very much, now it works!!!
thank you very much, now it works!!!
1 Re: thumbs folder empty
Philipp
From: Vienna, Austria
Administrator
1340From: Vienna, Austria
thumbs folder empty
The thumbnail function is using GD2 to resize the images on configurations with newer PHP versions.
A workaround to make it GD1 compatible is the following change in thumb.php.
Find:
and replace with:
However, I highly recommended that you upgrade to GD 2 after this version have a much better image quality
The thumbnail function is using GD2 to resize the images on configurations with newer PHP versions.
A workaround to make it GD1 compatible is the following change in thumb.php.
Find:
$thumb = imagecreatetruecolor($width, $height);
and replace with:
$thumb = imagecreate($width, $height);
However, I highly recommended that you upgrade to GD 2 after this version have a much better image quality
when i upload an image the thumbs are not created.
Infact they are not showed in review.
I use GD1 and Image Magick on server