UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  eUKhost's Official Web Hosting Forum > Web Hosting and Domains > Ruby on Rails

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 15-03-2009, 06:45
Member
 
Join Date: Mar 2008
Posts: 56
Default Paperclip vs Attachment_fu vs MySQL

Has anyone done image uploading in Rails. How did you do that?. Did you use any plugins like PaperClip, attachment_fu?.

I have found that those plugins are limited in the sense that all of them creates separate folder structure for images. My user base is more than 50,000 and its becoming a nightmare to have that many folders.

How did you get around those limitations?. Do you think its wise to store images in MySQL db?
__________________
for sale
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 15-03-2009, 11:09
Chief Technical Officer(eUKhost.com)
 
Join Date: Jun 2007
Posts: 311
Default

Hello,

You can refer following URLs for more information on it.

Image cropping and Upload - Rails Forum - Ruby on Rails Help and Discussion Forum
Ruby on Rails guides

Regards,
Nick J.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 15-03-2009, 11:37
Moderator (eUKhost.com)
 
Join Date: Mar 2009
Posts: 391
Default

Both are equally good plugins. If you're just looking for a simple tool Paperclip is good for you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 15-03-2009, 14:23
Member
 
Join Date: Mar 2008
Posts: 56
Default

Hi Jenni

Paperclip is good but for every record it creates a directory with 3 sub directories (thumb, medium etc). Its a real nightmare if you have a reasonably busy site with 50,000 records. Certainly a NO NO. Besides, it just leaves those directories without removing when you delete a record.

I stumbled upon another fantastic plugin called <a href="http://github.com/Squeegy/fleximage/tree/master">Fleximage</a>. It is a plugin that can be used with the above situation.

Upload works OK, deleting works OK, but rendering seem to have problem that it is not taking the :image_directory values. I am just stuck here. Have you used it before?. Any ideas/

I am developing a Craigslist clone that I am planning to release to Open source community. You can have glimpse of it at aigss dot classifieds dot org dot in ( not much ads in there but still worth looking ).

Any help to crack this problem is a great help for me.
__________________
for sale

Last edited by unknown888; 15-03-2009 at 14:24. Reason: more info
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 15-03-2009, 17:00
Member
 
Join Date: Mar 2008
Posts: 56
Default

guys, ignore my request. Paperclip itself has a provision to specify a single directory in which all images can be stored and retrieved.
__________________
for sale
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 16-03-2009, 05:13
Moderator (eUKhost.com)
 
Join Date: Mar 2009
Posts: 391
Default

Great! You may also want to search google lots of tutorials available for Paperclip.

How was your experience with Fleximage though?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 02:58.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
UK Web Hosting by eUKHosting 3.1.0
UK Web Hosting by eUKHosting 3.1.0
Copyright © 2001-2012, eUKhost LTD. All rights reserved.

 


UK VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

VoIP Dedicated Servers
Asterisk, Trixbox Dedicated Servers

Business Web Hosting
100% uptime Hosting

UK Cpanel Hosting
cPanel Shared Hosting

Domain Hosting
Cheap Domains & Hosting Plans

UK Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

ColdFusion Hosting
ColdFusion Web Hosting
 
 

Android and Apple App


knowledgebase articles
eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting

Joomla Hosting
Joomla Web Hosting

Mambo Hosting
Mambo Web Hosting

Magento Hosting
Magento Web Hosting

Wordpress Hosting
Wordpress Web Hosting

 

Web Hosting Affiliate Program
 

popular blog categories

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles