Hello,
i think you did't do step 4
Regards,
Henry
Thanks.. for letting me know..yes i fixed it now..and you can see in the thumbnail now..i did the step 4..
but still that restriction problem isn't solved..im still having that problem..and image resize is enabled..
please reply how to fix this problem..please please..looking forward to your replies.....
Best Regards
Haider.
==================================
i think it has something to do with this coding but i am not sure now..
function check_image_size() {
$this->image_size = @getimagesize($this->upload_file);
$ok = 1;
if ($this->auto_image[$this->image_type]) {
return 1; //auto image is on, don't need check for anything else.
}
if ($this->image_size[0] > $this->max_width[$this->image_type]) {
$ok = 0;
$this->set_error($this->lang['invalid_image_width']);
}
if ($this->image_size[1] > $this->max_height[$this->image_type]) {
$ok = 0;
$this->set_error($this->lang['invalid_image_height']);
}
return $ok;
}
im stucked in coding.. all i know to remove coding so it should not check size and width lolz..but still dont know will it gonna work or not..
any how.. please reply... im stucked up in these codings..
=========================================================
wow i just figured out one more thing..your mod is doing great regarding to resizing images..
i mean when regular users upload images bigger then the sized defined in admin then it resize them..
but its the thumbnail which is giving error to regular users regarding to size and height..
and the step 2.2 ...i guess its for image resizing not for thumbnail resizing..
i think you should make some more changes in your coding for thumbnails too so users dont get problem when they upload thumbnails bigger then the size defined in admin section..
rest you mod is doing great..and its awesome mod..
as you have inserted auto thumbnail resize feature later..so i guess you forgot to add the code for thumbnail that it should not give error when trying to upload bigger image then defined and it should auto resize it..
Please loook in to this matter and im still looking forward to help...
please..