ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

conditional use of imgsizer?!

September 28, 2009 2:20pm

Subscribe [2]
  • #1 / Sep 28, 2009 2:20pm

    K.OS

    4 posts

    Hi,

    i have a portfolio page which i would like to fill with either images or movies. i used the fantastic imgsizer plugin to create smaller version of my uploaded images… this works great so far 😊

    imgsizer creates thumbnails for all my uploaded images to fit properly in a grid and if you click a thumbnail, it opens the a larger fullsize version of my image or movieclip.

    now my problem:

    a thumbnails opens an image or a mp4/flv in a lightbox and i need to make sure that all full images do not exceed a maximum size. is there a way to check if the media type is an image or a movie and do a imgsize or keep the orginal file?

    kind regards,

    Kevin

  • #2 / Sep 28, 2009 3:53pm

    Boyink!

    5011 posts

    Seems like the easiest approach would be another field - maybe a drop-down - where you tell the template what kind of media file it is.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases