Author Topic: Auto Size Feature for Uploaded Images??  (Read 6134 times)

0 Members and 1 Guest are viewing this topic.

Offline trk247

  • Pre-Newbie
  • Posts: 6
    • View Profile
Auto Size Feature for Uploaded Images??
« on: October 31, 2002, 07:10:34 AM »
Hi,

Since I'm auto-generating the thumbnails, I would like a feature to auto-generate all uploaded files that are too large in pixels instead of doing this manually. Has anyone tried to implement something like this??





Thasnk,
--Thomas

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
Check admin CP
« Reply #1 on: October 31, 2002, 05:41:32 PM »
I believe under Settings in the admin control panel, there is a resize images setting.

Offline trk247

  • Pre-Newbie
  • Posts: 6
    • View Profile
Auto Size Feature for Uploaded Images??
« Reply #2 on: November 01, 2002, 02:34:38 AM »
Hi,


Under Settings in the admin control panel, I cant find the resize images setting. There is the Auto-Image-Resizer that lets you manually resize the images, but I'm looking for a way to do this similar to the way the thumbnails are dynamically generated.


This is bascially what I'm trying to do:

1. The user uploads ImageA that is 1600x1200.

2. I create some code and duplicate ImageA to ImageB where ImageB would be renamed and stored as an extra field in the DB.

3. Code would then dynamically resize ImageA to 800x600 for standard display on the details page.

4. Then the download link on the details page will point to ImageB.


I can probably figure most of this out, but I'm currently stuck on the resizing. I'm using Netpbm.

Does anyone have any advice???


Thanks,
-Thomas

Offline Chris

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.487
  • Did u ever stop to think and then forget to start?
    • View Profile
elsewhere
« Reply #3 on: November 01, 2002, 03:04:09 AM »
Search the forums.  I recall Jan posting a modification that allow multiple images like you're trying to do where one is shown on the details page and another is associated with the download.  That mod assumes you are adopting a naming convention and will upload both images - no auto-resize function.  But at least that mod would get you started.

Offline _Keith_

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • http://www.scikotics-ccc.com
Auto Size Feature for Uploaded Images??
« Reply #4 on: January 23, 2003, 02:24:08 AM »
did you ever find it?

Cuz i tried using the one built into 4images but it messed up the colors when I did that.

Offline wulfman

  • Pre-Newbie
  • Posts: 8
    • View Profile
Auto Size Feature for Uploaded Images??
« Reply #5 on: April 11, 2003, 07:07:16 PM »
Quote from: trk247
Hi,


Under Settings in the admin control panel, I cant find the resize images setting. There is the Auto-Image-Resizer that lets you manually resize the images, but I'm looking for a way to do this similar to the way the thumbnails are dynamically generated.


This is bascially what I'm trying to do:

1. The user uploads ImageA that is 1600x1200.

2. I create some code and duplicate ImageA to ImageB where ImageB would be renamed and stored as an extra field in the DB.

3. Code would then dynamically resize ImageA to 800x600 for standard display on the details page.

4. Then the download link on the details page will point to ImageB.


I can probably figure most of this out, but I'm currently stuck on the resizing. I'm using Netpbm.

Does anyone have any advice???


Thanks,
-Thomas


I would love to see a mod like this, it would make 4images perfect for archiving pictures from digicams and the like. :)

I guess the threads you were refering to are http://www.4homepages.de/forum/viewtopic.php?t=4229 and http://www.4homepages.de/forum/viewtopic.php?t=1861 .

mfg
wulfman