Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I would like to use images in a picture library to have images with mouseovers. but i would need two images one on mouseout and the other in mouseover. Looking at different solutions is where will i store the second image wince i can only have one image uploaded per item. Any ideas would be appreciated

share|improve this question
add comment

3 Answers

up vote 0 down vote accepted

Picture Libraries actually store two thumbnails for you. The thumbnails are stored in _t and _w folders in the Picture Library, and the naming conventions are easy to follow.

The sizes may not be exactly what you want, but between the versions, you may be able to scale them to your needs on the fly.

share|improve this answer
    
Thanks Guys.If they are stored in _t and _w folders which i believe it is automatically generated how does that help me. What i really need is to be able to have 2 images in an item and then i can easily swap images onmousover and onmouseout. Cheers –  naijacoder Jul 16 '12 at 8:03
    
Well, you can use those smaller thumbnails if they serve your purpose. If you need to separate images that aren't the same, then save them using some naming convention that makes sense, like image_start and image_mouseover. –  Marc D Anderson Jul 16 '12 at 11:57
add comment

You could write a custom webservice which either generates the other images on the fly and have jQuery query that - or you generate the images with an event handler on image update/created in the image library into another library and jQuery can get the images from there.

share|improve this answer
add comment

You can create another list/library which will hold the second image based on the id of the List Item in the first list. Then you can query that list based on the id and fetch the image on the fly. But the best approach will always be to create a new picture column in the original list and have 2 images associated with one list item. But from your post it seems that you cannot do that.

Also, the following post might come in handy if you are dealing with Picture Libraries: http://community.zevenseas.com/Blogs/Tanmay/Lists/Posts/Post.aspx?ID=22

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.