Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - webtrade

Pages: [1]
1
Thanks V@no! You're a legend! It works! I increased it to 2048kb and it's all good now.
Happy new year!  :D



2
Thanks for responding V@no. Much appreciated. I applied your suggestion but still have a prob, although the error message is now reduced to a one liner:

Error uploading image file:
image.jpg: Image size invalid

This scenario sounds familiar. I remember it from a previous post. I'll go back and have a read.

Cheers

3
Hi,

I should have mentioned that the error only occurs when regular users try to upload images larger than what I have specified (500px x 500px, 1mb). And that I have the settings activated in CPanel - Auto resize - yes; GD Bib.. selected) The message is:

Error uploading image file:
image.jpg: Image size invalid
image.jpg: Image width invalid
image.jpg: Image heigth invalid

Thanks!

4
Just when you thought there wouldn't be another one of those cries for help - "I've applied the mod but it's not working for regular users! Only admin!"

Hope someone can please assist. I've applied the mod a number of times in different installation directories (and studied the tutorial and read previous posts) but I stil have probs when users other than admin try and upload. Looking at previous posts it seems like step 2.2 is big culprit. This is an extract from my upload.php file:

function check_image_size() {
    $this->image_size = @getimagesize($this->upload_file);
    $ok = 1;
    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']);
    }
   
    if ($this->auto_image[$this->image_type]) {
         $ok = 1;
      }
   
    return $ok;

Does it look OK? Any tips would be greatly appreciated!

Cheers

5
Installation, Update & Configuration / Re: Number of images supported?
« on: December 28, 2008, 08:55:47 AM »
Thanks guys! Much appreciated.

6
Installation, Update & Configuration / Re: Number of images supported?
« on: December 27, 2008, 10:07:39 AM »
Cool. Thanks Nobby :D

7
Installation, Update & Configuration / Number of images supported?
« on: December 27, 2008, 09:21:09 AM »
Hello,

Does anyone please know if there is a limitation to the number of images supported by 4images Gallery? Has anyone pushed it past a few thousand images?

Cheers
Rob

8
Thanks Nicky. Much appreciated! :D

9
Hi,

Just wanted to check if this post is still valid and if it's required for 1.7.6 and if it's the the best and easiest way to automatically resize photos upon upload? Also I'm unable to download the file mentioned in step 5. Does it still exist?

Hope someone can help?

Cheers



http://www.4homepages.de/forum/index.php?topic=7700.0

Pages: [1]