How to display thumbnail image with the product

Hi all,

I am making a shopping cart application. In this application I need to
display the thumbnail image with the product name. I have already
install image magick and am trying to use it to display the thumbnail
image… but not able to do that. Can someone help me out in solving
this problem.

Any help wud be greatly appreciated.

Thanks,
Ruchita S…

Ruchita S. wrote:

Hi all,

I am making a shopping cart application. In this application I need to
display the thumbnail image with the product name. I have already
install image magick and am trying to use it to display the thumbnail
image… but not able to do that. Can someone help me out in solving
this problem.

Any help wud be greatly appreciated.

Thanks,
Ruchita S…

I would try Mike C.'s tutorial on attachment_fu - I’m not sure how
you’re getting your images into the system, but I’m guessing it’s
through some upload functionality. If so, you can use attachment_fu and
abstract away all the complexities of image uploading and thumbnailing -
even have multiple thumbnail sizes… when you want to call the image,
you do something like: image_tag(@my_image.public_filename) when you
want to call the thumbnail, you just do
image_tag(@my_image.public_filename(:thumbnail))

attachment_fu is wonderful and mike clark’s tutorial is here:
http://clarkware.com/cgi/blosxom/2007/02/24

If you want something like user images on these pages
http://sphred.com/profile/1-Nasir-Jamal,
http://sphred.com/profile/2-Amy-Gooch
(click on the user image to see) then you can use acts_as_attachment
plugin.

I have written the steps to set the whole thing here

On Nov 3, 1:56 pm, Dustin A. [email protected]

nas wrote:

If you want something like user images on these pages
http://sphred.com/profile/1-Nasir-Jamal,
http://sphred.com/profile/2-Amy-Gooch
(click on the user image to see) then you can use acts_as_attachment
plugin.

I have written the steps to set the whole thing here
How to get acts_as_attachement plugin working on mac osx – Nasir Jamal

On Nov 3, 1:56 pm, Dustin A. [email protected]

Hi,

I have followed the tutorial http://clarkware.com/cgi/blosxom/2007/02/24
for uploading the images and converting them to thumbnail… But its
not working. Its givine error
SystemExit in MugshotController#new

This error occurred while loading the following files:
image_science.

I have installed free_image, image science but still its giving the same
error. Please do let me know what needs to be done.

Thanks,
Ruchita S…

exit

Abhi M. wrote:

Hi Ruchita

Sorry to disturbe you now. But what about the other projects did u get
soln?

Hi Abhimanyu,

Can you please help me out. I have to upload the image and display the
thumbnail image along with the product name.

Hi Ruchita

Sorry to disturbe you now. But what about the other projects did u get
soln?

Hi Ruchita

I dont know about this. But thease are the links I got. Have you gone
through these?

http://addictedtonew.com/archives/127/rotating-images-with-rmagick-and-ruby-on-rails/

http://rorpaste.com/paste/details/54

http://www.guydavis.ca/log/comments.jsp?id=976

link to get rails cook book
Radar – O’Reilly

http://groups.google.com/group/activescaffold/browse_thread/thread/b7cc0677cc06cd36

I will try out more

Abhi M. wrote:

Hi Ruchita

try also these

http://blog.zertox.com/post/2006/10/Image-upload-with-Ruby-on-Rails.aspx

http://www.kanthak.net/opensource/file_column/
http://www.tutorialized.com/view/tutorial/rmagick/11954
http://www.tutorialized.com/view/tutorial/Image-uploads-and-resizing-for-Rails-models-with-mini-magick/19070

Hi Abhimanyu,

Thanks a lot for the tutorials. I am not able to do that really cant
understand wats the exact problem? I have installed lots of plugins
now… dont knw wat to do?

Hi Ruchita

try also these

http://blog.zertox.com/post/2006/10/Image-upload-with-Ruby-on-Rails.aspx

http://www.kanthak.net/opensource/file_column/
http://www.tutorialized.com/view/tutorial/rmagick/11954
http://www.tutorialized.com/view/tutorial/Image-uploads-and-resizing-for-Rails-models-with-mini-magick/19070

Abhi M. wrote:

Hi Ruchita

I have heard that installation of certain plugins will give errors. Dont
get tensed. Because getting tensed in ror may make things complicated
and unsolvable.

If you are getting mad do some other thing for a while and then come
back.
Then tell me what about the other things you were doing

regards

Abhimanyu

Hi Abhimanyu,

I am not doing that stuff. Now am again stuck on some other thing. Can
you please tell me how to manage content(CMS) in RoR on admin side.
Please do let me know.

Hi
Did you mean that you want to know how an admin can be provided
with authority than othan other users to manage a CMS

Abhi M. wrote:

Hi
Did you mean that you want to know how an admin can be provided
with authority than othan other users to manage a CMS

yes i mean to say how to implement the functionality of content
management? What’s the logic behid that?

Hi Ruchita

I have heard that installation of certain plugins will give errors. Dont
get tensed. Because getting tensed in ror may make things complicated
and unsolvable.

If you are getting mad do some other thing for a while and then come
back.
Then tell me what about the other things you were doing

regards

Abhimanyu

Ruchita S. wrote:

Abhi M. wrote:

Hi
Did you mean that you want to know how an admin can be provided
with authority than othan other users to manage a CMS

yes i mean to say how to implement the functionality of content
management? What’s the logic behid that?

Can you send me some tutorial on content management???

Hi
Ok I will search and send it to you. Are all these part of a single
project?. or are you doing multiple projects

Hi
Here are some links but I dont think this will help

http://www.contentmanager.eu.com/history.htmolumn/

http://wiki.rubyonrails.org/rails/pages/Integrate+Rails+with+a+CMS

http://www.rubymatters.com/ruby-cms.shtml

http://www.ibm.com/developerworks/library/i-osource1/index.html

http://www.interaktonline.com/Documentation/MXKollection/073000_tutorialcms
By the way I have done project with admin and other users if you want
any info regarding authenthication and other I may can help you. I am
currently searching and will send you links as soon as I get it.Also I
will leave within 1 hr

Abhi M. wrote:

Hi
Here are some links but I dont think this will help

Enterprise Content Management Systems (ECM) Portal - Enterprise, Web & Document Management Suppliers and Solutions

http://wiki.rubyonrails.org/rails/pages/Integrate+Rails+with+a+CMS

http://www.rubymatters.com/ruby-cms.shtml

IBM Developer

http://www.interaktonline.com/Documentation/MXKollection/073000_tutorialcms
By the way I have done project with admin and other users if you want
any info regarding authenthication and other I may can help you. I am
currently searching and will send you links as soon as I get it.Also I
will leave within 1 hr

Thanks a lot for the links. I’ll let know if any other help is required.
But rtenw plz help me with content management system.

Abhi M. wrote:

Hi
Ok I will search and send it to you. Are all these part of a single
project?. or are you doing multiple projects

All these are part of a single project.

Hi Ruchita
http://www.dmoz.org/Computers/Programming/Languages/Ruby/Software/Rails/FAQs,_Help,_and_Tutorial

s/
http://directory.google.com/Top/Computers/Software/Internet/Site_Management/Content_Management/

there are tutorials of cms in php and my sql. I think you can extract
the idea from the following

http://www.php-mysql-tutorial.com/cms-php-mysql.php

http://www.dmxzone.com/index.asp?CatId=629&TypeId=2
http://www.tutorial-center.com/tutorials/phpcoding/contentmanagement/1/

http://www.seoecom.com/cms
http://www.zimmertech.com/tutorials/exponent-cms

Hope these may give you an idea

All the best