1
Mods & Plugins (Releases & Support) / Re: some optitions...
« on: May 08, 2003, 05:10:12 PM »Quote from: Sheep707
(I'm just beginner in PHP)
me too

think its possible with a if - elseif circle but i ´ve no need! perhaps i´ll try it if i have more time! *sorry*
I´ve made a second installation and work with "try & error"

btw.
the image size in the detail page i found in /includes/functions.php beginning in line 238
search for
Code: [Select]
$file_size = "n/a";
if (!is_remote($image_row['image_media_file'])) {
if ($file_size = @filesize(MEDIA_PATH."/".$image_row['cat_id']."/".$image_row['image_media_file'])) {
$file_size = format_file_size($file_size);
}
}
replace with
Code: [Select]
$file_size = "n/a";
if (!is_remote($image_row['image_media_file'])) {
if ($file_size = @filesize(ROOT_PATH."/data/download/".$image_row['cat_id']."/".$image_row['image_media_file'])) {
$file_size = format_file_size($file_size);
}
}
works fine until now - "Auto image resize" isn´t hurt so far I´ve testet it - seems it works fine in the standard /media directory!
so long
Kollega