Closed (fixed)
Project:
Shadowbox
Version:
6.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
15 Feb 2012 at 11:35 UTC
Updated:
25 Mar 2013 at 12:29 UTC
Im new to drupal but my new job use it as their cms, they already have a site set up, the link below shows what images i want to expand - http://www.surridgesport.co.uk/content/news
Its the images on the left hand side and i would like them to expand once clicked on.
How do i go about doing this?
Comments
Comment #1
dman commentedWhy have you posted in image assist? Just a guess?
Looking at your site, http://www.surridgesport.co.uk/content/photo-gallery , you already have Shadowbox installed, so you should leverage its utilities. I'll shift the issue over there for maybe more clues.
Looking at your link, I don't see that the small images have any larger image versions available for you to blow up to. So I can't see what you can achieve.
Normally, I'd expect that your node tye would have a large feature image (original) attached to it. And you would use a small (imagecache_ derivative) to show in the teasers like you show in your link. That would be normal.
Then you could adjust the renderer of that derivative to "link to image" and also layer on shadowbox to convert linked images into pop-ups.
If you were looking for advice from scratch, that would be the straightforward process.
But if you are working with something that is already built and seems to do things differently - it's up to you to figure out what is currently done with image management and leveraging that.
Can't suggest much more until you diagnose how what you are using actually is working so far.
Comment #2
Sam Hunter commentedThank's for the quick reply!
Yeah was just a guess.
And yeah i've taken over someone elses job so im trying to figure out what they have been doing/how they have been going about things.
I think the best thing for me to do is contact the last person who did this site.
Comment #3
dman commentedYou are probably not far from where you want to be.
I can see your site has imagecache, so you've got the resizing utility ready to use.
But I cannot see any large versions of the teaser thumbnails. If you don't have any original large images, you can't blow them up any bigger based on the small source image.
If you edit any content item, I imagine there is an image field where the story image should be attached. Mess with that, and set your 'teaser' to show a shrunk version of it, and you would hopefully be mostly there.
Unless the original theming was done in a non-standard (highly customized) way. In which case you are on your own.
Comment #5
manfer commentedComment #6
manfer commented