search for: thumbnailnam

Displaying 1 result from an estimated 1 matches for "thumbnailnam".

Did you mean: thumbnailname
2006 Mar 08
3
attribute or instance method or what?
...upport for creating thumbnails out of uploaded pictures and i''d like to have an easy way of accessing them in my views. How to do it? I.e. my image has name ''1-13.jpg'' and thumbnail will have ''1-13-thumb.jpg''. Do i have to create additional attribute thumbnailname and somehow set it automatically based on ''name'' value, so it will be available for an instance variable of my image class, or create a helper method for image class or...? -- Posted via http://www.ruby-forum.com/.