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 - Warz

Pages: [1] 2 3
1
Mods & Plugins (Requests & Discussions) / Re: Thumbnail size
« on: December 23, 2008, 06:45:38 PM »
That's very strange, this is my settings and it just doesn't work  :(

2
Mods & Plugins (Requests & Discussions) / Re: Thumbnail size
« on: December 23, 2008, 02:56:19 PM »
On my test site (fresh 4images with the code above) it creates 154x104 thumbnails no matter what size and dimensions of the original image. Make sure you've inserted the code ABOVE and not BELOW

Hello,

Today I installed a fresh 4images, but it does not work still. Could you show me your settings please ?

3
Anyone?

4
Requests for paid modifications / Jobbörse / Paid project - Thumbnail size
« on: December 09, 2008, 12:57:55 PM »
Hello,
 
I need this done:
http://www.4homepages.de/forum/index.php?topic=23497.0

As you can see from the topic I was provided a code that was supposed to work, but didn't. I think the reason is because of some custom mods I have installed earlier.

So... your job is to make it work.

Payment, let me know your price. Thanks

5
Mods & Plugins (Requests & Discussions) / Re: Thumbnail size
« on: December 07, 2008, 12:12:40 AM »
Yupp... I upload a new image every time I check

6
Mods & Plugins (Requests & Discussions) / Re: Thumbnail size
« on: December 06, 2008, 08:58:47 PM »
On my test site (fresh 4images with the code above) it creates 154x104 thumbnails no matter what size and dimensions of the original image. Make sure you've inserted the code ABOVE and not BELOW
Yupp,

Code: [Select]
  $width_height = get_width_height($dimension, $image_info[0], $image_info[1], $resize_type);
  $resize_handle = "resize_image_".$convert_options['convert_tool'];
// custom added line between here
global $config;
  $width_height = array("width" => $config['max_thumb_width'], "height" => $config['max_thumb_height']);
// and here to make max thumb size
  if ($resize_handle($src, $dest, $quality, $width_height['width'], $width_height['height'], $image_info)) {
    @chmod($dest, CHMOD_FILES);
    return true;
  }
  else {
    return false;

Wonder what it could be then  :? I tried all kinds of different settings aswell under admin panel, settings

7
Mods & Plugins (Requests & Discussions) / Re: Thumbnail size
« on: December 06, 2008, 07:19:59 PM »
what is the reason about this size :?:

and nice two small images. i need a lupe to see anything :lol:
The reason for the size is because I have another site where I use thumbnails from my 4images site. And if images are in different sizes it will not look good....

If you really want to read you can go here: http://i242.photobucket.com/albums/ff198/Warz/4imagesSettings01.jpg

8
Mods & Plugins (Requests & Discussions) / Re: Thumbnail size
« on: December 06, 2008, 06:32:14 PM »
Hi,

What I need is:
When uploading image, auto make thumb with size 154x104

Now when I upload image after your code, I get image with 154x103, 139x105 etc.... It is similar to 154x104 but not exact value 154x104.

I will give you an example:

This is wrong (154x103):

This is correct (154x104):


You see what I mean?  :)

9
Mods & Plugins (Requests & Discussions) / Re: Thumbnail size
« on: December 06, 2008, 12:36:12 PM »
In includes/image_utils.php find:
  if ($resize_handle($src$dest$quality$width_height['width'], $width_height['height'], $image_info)) {


Insert above:  global $config;
  
$width_height = array("width" => $config['max_thumb_width'], "height" => $config['max_thumb_height']);

Hmmm... seems to work a bit better, I mean it's not totally out of correct size anymore, but it still doesn't stretch it to always be 154x104. Thanks though

10
Mods & Plugins (Requests & Discussions) / Re: Thumbnail size
« on: December 05, 2008, 06:17:47 PM »
Hi,
Quote
fixed size of 154x104
and how do you thing is this possible with images in this two upload formats:
1024x768
768x1024

in 4images settings you can only fix one side from the image
Two fix sides is not possible in standard script

And i can't remember about a mod for this...


Kurt

True, so I pay $$$ if you or anyone else can make this mod :)

11
Mods & Plugins (Requests & Discussions) / Re: Thumbnail size
« on: December 05, 2008, 05:56:23 PM »
Sorry, it doesn't work. I can get thumbnail in other formats...  :(

12
Mods & Plugins (Requests & Discussions) / Thumbnail size
« on: December 05, 2008, 04:40:54 PM »
Hey,

When user upload image, thumb is automatically created, but it does not resize thumb to my prefered size. I need to have thumbnail automatically resized to a fixed size of 154x104 px when creating thumb on upload.

Let me know how much it costs.

Payment via paypal

Thanks

13
Discussion & Troubleshooting / Re: Thumbnail size
« on: December 04, 2008, 12:02:10 PM »
In includes/functions.php find two times:
      $width_height = (!empty($image_info[3])) ? " ".$image_info[3] : "";

Insert below:
      $width_height = (!empty($image_info[3])) ? " width=\"154\" height=\"104\"" "";

Hey,

are you sure? It didn't work for me?

I tried to:
- Add the line once under the last one
- Add the line under both
- Add the line twice and remove the other lines

14
Discussion & Troubleshooting / Re: Thumbnail size
« on: December 03, 2008, 11:35:13 PM »
Thanks, I tried that other command line and it worked very well too :)

But I have another problem, how can I make thumbnail fixed size, so called "stretch to fit"? It doesn't matter what the original picture looks like, I want to always have a picture with width: 154 and height: 104. Is this possible?
Anyone?

15
Discussion & Troubleshooting / Re: Thumbnail size
« on: November 28, 2008, 02:38:42 PM »
Thanks, I tried that other command line and it worked very well too :)

But I have another problem, how can I make thumbnail fixed size, so called "stretch to fit"? It doesn't matter what the original picture looks like, I want to always have a picture with width: 154 and height: 104. Is this possible?

Pages: [1] 2 3