adding pictures to slide show in Portrait Mode

3 views
Skip to first unread message

claudiacardiff

unread,
Jul 22, 2005, 1:28:02 AM7/22/05
to CF...@googlegroups.com
I have not been able to display correctly any portrait orientation of
my photo's to the slide show. Landscape shapes work fine but all the
longer then wider (portrait) ones are cut off. Have not seen anyplace
where I can change the orientation when adding to the slide show. Sure
the option is someplace, can anyone tell me how to set up my slideshow
so my pictures are not cut off?

Ryan Guill

unread,
Jul 22, 2005, 8:23:41 AM7/22/05
to CF...@googlegroups.com
Im afraid that is something I am going to have to work on for the next
release. Unless Todd can put in another attribute in the xml that
says whether the picture is portrait or landscape, I am going to have
to first detect the dimentions of the picture, see which one is
longer, and then do the resize of the image based on the longest size.
Right now, it only does the resize based on the width, because the
majority of pictures are landscape.

Hopefully this will be in the next version I release. Thanks for the feedback.
--
Ryan Guill
BlueEyesDevelopment
ryan...@gmail.com
www.ryanguill.com
(270) 217.2399
Want gmail? Get it here while its hot.

www.ryanguill.com/blog/

Todd Dominey

unread,
Jul 22, 2005, 9:25:39 AM7/22/05
to CF...@googlegroups.com

Do you have "Image Scaling" set to "True"?

Todd
------------------------------------
Todd Dominey :: Dominey Design
folio :: http://domineydesign.com/
news :: http://whatdoiknow.org/
ssp :: http://slideshowpro.net/


mvanleest

unread,
Jul 22, 2005, 10:30:09 AM7/22/05
to CF...@googlegroups.com
I haven't had the time to look at the code yet, but this shouldn't be
that hard to do... a little
<cfif imgWidth GT imgHeight>
normal resizing code
<cfelse>
Portrait resizing code
</cfif>
would do the trick, but the xml also needs a new entity for that ;)

I hope I have some time tonight...

Ryan Guill

unread,
Jul 22, 2005, 12:34:24 PM7/22/05
to CF...@googlegroups.com
Well the problem is, there isn't any code there yet to get the width
and height of the orignial image at all, definately not before the
resize is performed. My main concern there is just the extra
processing time. But you're right, it will be pretty much that simple
after thats done.

claudiacardiff

unread,
Jul 22, 2005, 9:22:23 PM7/22/05
to CF...@googlegroups.com
Todd, that was the problem, thank you so much. The Image scaling was
set to False. Changed to true, now works great!!

Reply all
Reply to author
Forward
0 new messages