Author Topic: Random Image - Format  (Read 5462 times)

0 Members and 1 Guest are viewing this topic.

Offline donpedro

  • Full Member
  • ***
  • Posts: 110
    • View Profile
    • Baden bei Wien - Fotos einer Stadt
Random Image - Format
« on: August 24, 2005, 01:20:05 AM »
Hi,

is there any possibility to select only thumbnails in horizontal format for the Random Image ?

regards
dp

TheOracle

  • Guest
Re: Random Image - Format
« Reply #1 on: August 24, 2005, 12:17:15 PM »
I'm not quite sure what you mean here ... could you post a screenshot for better understanding ? ;)

Offline donpedro

  • Full Member
  • ***
  • Posts: 110
    • View Profile
    • Baden bei Wien - Fotos einer Stadt
Re: Random Image - Format
« Reply #2 on: August 24, 2005, 10:45:52 PM »
Iīve got photos in vertical format and horizontal format in my gallery and what I wanted to ask - is it possible to modify the random photo mod to show only photos in horizontal format.

... format like the three new images in my WS

http://www.badenfotos.com/galerie/index.php?l=english

regards
dp

Offline Xyu BAM

  • Full Member
  • ***
  • Posts: 145
    • View Profile
Re: Random Image - Format
« Reply #3 on: August 25, 2005, 01:51:31 AM »
the image dimentions are not stored in the database, so its not possible to select image with sertain dimentions or such.

Offline donpedro

  • Full Member
  • ***
  • Posts: 110
    • View Profile
    • Baden bei Wien - Fotos einer Stadt
Re: Random Image - Format
« Reply #4 on: August 25, 2005, 02:45:04 AM »
yep I know that

but isnīt it possible to check the dimension of an image in a php script and select if horizontal or vertical format will be used for display an pass the different formatted images ?

regards
dp

TheOracle

  • Guest
Re: Random Image - Format
« Reply #5 on: August 25, 2005, 05:10:13 AM »
For now, the dimensions are being tracked as if. There's no way to automaticly track (with standard presentation) different dimensions on the fly. It has to be handled from a seperate module such as GD Library.

Offline donpedro

  • Full Member
  • ***
  • Posts: 110
    • View Profile
    • Baden bei Wien - Fotos einer Stadt
Re: Random Image - Format
« Reply #6 on: August 25, 2005, 11:16:56 AM »
o.k. thx for the reply

dp