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.

Best way to make image upload and separate thumbnail in EE2

March 29, 2011 10:42am

Subscribe [3]
  • #1 / Mar 29, 2011 10:42am

    opel

    160 posts

    I am in the process of building my portfolio site and on the detail pages I have screen grabs of images in a slider and larger previews pop up when you click on the screengrab.

    Now, the problem I have is that that I’m using the EE2 image upload and imgsizer plug in to make a thumbnail based on the single image but the proportions are wrong.

    Is the only way to have a thumbnail upload and alt image to use FF Matrix or are there other plugin options. I saw there was old article with a branched off FF matrix but the site is no longer live.

    Thanks

  • #2 / Mar 29, 2011 9:42pm

    Brett Gullan

    70 posts

    Opel,

    Have a look at this plugin (http://www.causingeffect.com/software/ee/ce_img), it might help you to control cropping for your thumbnail images.

  • #3 / Mar 29, 2011 9:49pm

    Brett Gullan

    70 posts

    Opel,

    There are a number of ways you could upload additional images without using Matrix—though Matrix is likely to be the easiest!

    If all you need is a (custom) thumbnail and main image, maybe just make two file upload fields in your Channel? A slightly more complex approach might be to create a separate Channel to hold your images and use a related field to link them to the parent entry?

    HTH

  • #4 / Mar 30, 2011 5:08am

    opel

    160 posts

    Matrix may be the easiest then for speed. Its about time Ellislabs just bought that at the WYGWAM and made it part of the commercial package in my opinion.

  • #5 / Mar 30, 2011 5:16am

    Brett Gullan

    70 posts

    Matrix will probably be the easiest option for managing multiple images, especially if each entry is likely to have a different number of images.

    But that assumes you’re going to create your alt/thumbnails manually? If you still want to automatically generate a thumbnail/cropped image you will still need an image handling plugin.

  • #6 / Mar 30, 2011 5:18am

    opel

    160 posts

    As its for my own portfolio I’ll probably be picky about thumbnails so manually uploading them would be the best.

    Was just having to get out of the $55 fee. If it was half the price it would be ok but the guy must be raking it in as most EE sites need it in some way or another, basing this on the show-ee list of addons for projects.

  • #7 / Mar 30, 2011 5:28am

    Brett Gullan

    70 posts

    If you really want to avoid buying Matrix, you could manage this manually. Just create a directory for your folio images and adopt a naming convention for your images.

    something like:

    /folio/x/thumbnail.png
    /folio/x/image.png

    Where “x” is the entry id. Then you can just construct the URLs from within your template, like this:

    <img arc=”/folio/{entry_id}/thumbnail.png” >

    The only drawback with this approach is that the images aren’t directly tied to their entries in EE.

    Just a thought!

  • #8 / Mar 30, 2011 5:29am

    opel

    160 posts

    great, thanks I’ll give that a try first.

    Thanks for your help.

  • #9 / Mar 30, 2011 5:31am

    Brett Gullan

    70 posts

    No worries. Good luck!

  • #10 / Apr 19, 2011 9:04pm

    Neo01

    2 posts

    Thanks for the helpful tips of uploading images without having to use Matrix.

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

ExpressionEngine News!

#eecms, #events, #releases