Displaying 20 results from an estimated 1000 matches similar to: "Dynamic image resizing and caching"
2009 Jul 14
0
Strange behaviour of start menu entry
Hi,
I installed a program which also adds a start menu entry for viewing a HTMLHelp file. But there is some error, the HTMLHelp viewer within Wine is launched, the content pane to the left is displayed, but no text appears to the right.
So I wanted to use kchmviewer instead. I manually edited the call in the start menu entry to use kchmviewer instead. I tested this call on the command line, it
2008 Aug 10
2
Wine 3D leads to weird screen
Hi Folks,
starting from yesterday on (I updated my SuSE, before it worked perfectly). I get a weird graphic output starting an 3D game in wine (I use WOW for tests, it already worked flawlessly).
This is like, the screen is duplicated left to right, and the whole screen is like looking through an interference (lot of small blocks making stuff unsharp).
I checked out native OpenGL games (e.g.
2006 Mar 05
4
Resizing images and creating thumbnails
Hi,
1. How to resize an image uploaded by a web form before saving it to the
disk? (i need all uploaded images to have similar size)
2. How to create thumbnails? Is it enough if i specify small size of the
image in html or would the image look horrible? Can i do it somehow in
''realtime'' using javascript? Or is it best to create thumbnail as a
separate file?
3. How to get
2007 Jun 29
1
attachment_fu validation error
I have this class:
class Logo < ActiveRecord::Base
has_one :something
has_attachment :content_type => :image,
:storage => :db_file,
:max_size => 500.kilobytes
:thumbnails => {:web => ''150x100'', :pdf =>
''150x100''},
:processor =>
2007 Mar 28
3
attachment_fu Not Resizing
Hello,
Recently attachment_fu stopped resizing images for me. I''m puzzled
because before today it was resizing them and I don''t know what''s
changed. Here''s my code:
class Product < ActiveRecord::Base
has_attachment :content_type => :image,
:storage => :file_system,
:max_size => 18.megabytes,
2006 Jul 05
8
Beating the authentication horse (dead yet?)
Guys,
I''m frankly overwhelmed by the number of Rails authentication options(?)
out there...from ActiveRBAC to acts_as_authenticated to LoginEngine and
so on...so many options, yet on resource I''ve found really distinguishes
between each.
This is sad, as authentication and user management is really an area
where some Rails simplicity pixie dust could be a real boon to
2006 Jan 31
5
resizing multiple images using getElementsByClassName
I am building a iPhoto like (Read rip-off) interface for thumbnails
and I am having a couple problems that I thought some one on the list
might be able to assist me on ...
first off here is the page: http://v4.incontrolsolutions.com/galltest/
I am no Javascript whizz and I am sure there is a FAR more efficient
way to do what I am trying. Having said that, the 2 things I was
looking for
2008 Mar 20
0
Having trouble with a remote-crop-then-resize using attachment fu =(
Basically, I''m trying to crop multiple images out of a remote/original
scene.. Think flickr ''tagging'', only, the pixs in the tagged boxes
become their own unique images.. by way of simulating an upload from
the controller using attachment fu.. can''t quite figure out the
specific method in fu that would allow me to do this.. I''m so near the
edge right
2006 Aug 12
5
Rmagick not handling GIF files properly...
Tracked down the source of my problem...
It seems that Rmagick isn''t properly cropping/resizing GIF or PNG images
when uploaded via file_column. I can upload JPG files just fine.
Originally I had installed ImageMagick via Debian''s apt-get and built the
rmagick gem using "gem install rmagick". This wasn''t working so I
uninstalled ImageMagick and tried to
2007 Jan 19
0
Fleximage get a resized thumbnail
I am using for the first time the Fleximage plugin... good, I can upload
and resize images on the fly before storing them.. User has-one Image
I need to get a very small thumbnail to be stored directly into a
tinyblob field of the user record... ,
I know Fleximage is able to produce thumbnails, but regarding
performance I''d prefer to store the thumbnail direcly into the user
record...
2005 Oct 18
3
hand writing sql for eager loading of thumbnails
Can anyone point me to a resource for hand coding some sql so I can create my
own for the following models:
I''m using single table inheritance to store related objects eg:
Thumbnail < Image < File :: ActiveRecord:Base
Image
has_many thumbnails
Thumbnail
has_one image
When I come to list thumbnails I''d like to be able to:
1. List all images relating to a product
2.
2008 May 09
0
Attachment_Fu : how to remove thumbnails only and regenerate
hello guys
i am using attachment_fu for product images
i have hundreds of products and their images
with thumbnails :thumbnails => { :thumb => ''100x100>'' }
now we have decided to have thumbnails of size 50x50> only.
how do i destroy the existing thumbnails for images
and regenerate the new thumbnails
i shud be doing something like this
product_images.find(:all)
2007 May 05
0
acts_as_attachment - no thumbnails?
the full-size pics upload OK, but no thumbs or resizing. There are no
errors or exceptions that I can see, just not getting any thumbnails.
The DB column ''thumbnail'' is always NULL
rmagick-1.15.6 is freshly installed.
I have the :thumbnails stuff setup per
http://weblog.techno-weenie.net/articles/acts_as_attachment/thumbnailing
using a model like this:
class EventPic
2011 Jun 25
0
Good Centos Security Advice & Gnome Thumbnails
Browsing the net for one thing unexpectedly brought me to two good and
useful documents:
(1) Guide to the Secure Configuration of Red Hat Enterprise Linux 5
http://www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf
Revision 4.1
February 28, 2011
(2) Hardening Red Hat Enterprise Linux 5
http://people.redhat.com/sgrubb/files/hardening-rhel5.pdf
Updated 12 August 2010
Gnome Thumbnail system is
2006 Feb 25
2
Ruby Interface Recommendations Photo Gallery Creation?
Hi, I''m looking to create a gallery index page of thumbnail images which
point to their associated images galleries. Also, I would like to organize
the images from left to right and top to bottom. Furthermore, I would like
to limit the number of thumbnail images on the page. I guess that I''m
needing some type of horizontal looping interface for both the thumbnail
index page
2009 Feb 17
1
cloning an already uploaded image using attachment_fu
Hi,
I have an Image model that is attached to a item. The image was uploaded
through attachment_fu. Now, I want to reuse the same image for a new
item. I tried several tips found online. For example in
http://danieloshea.com/articles/254-cloning-images
# Create a clone of an image and it''s thumbnails.
def create_clone
c = self.clone
self.thumbnails.each do
2007 Dec 02
0
attachment_fu doesn't generate thumbnails on windows
Hi,
I''m having trouble with attachment_fu on windows not generating any
thumbnails on the fly. I started out trying to incorporate this into my
app without success then tried implementing Mike Clarke''s tutorial
(http://www.clarkware.com/cgi/blosxom/2007/02/24) and got the same
problem.
I have resolved some gotchas I found in the "attachment_fu on Windows"
thread
2007 Feb 06
1
Attachment_fu ImageScience FreeImage thumbnail quality
I''ve tried migrating acts_as_attachment to attachment_fu (just to see
if I could replace RMagick with ImageScience+FreeImage), but the
quality of the thumbnails is just horrendous, blurred beyond
recognition (downscaling a 1280x1024 to a few considerably smaller
thumbnails).
Changing attachment_fu to use RMagick again and the thumbnails were
crispy sharp again.
I was wondering
2008 Dec 26
2
Video gallery in rails
Dear all,
Iam in process of creating video gallery like youtube, please suggesst
plugins i should install and best suits fro my application.
My requirements are
1) Huge file uploading to upload videos
2) creating thumbnails on videos uploaded
3) Listing thumbnails of all videos in video gallery folder.
4) Onclicking thumbnails video should be played
Please suggest a way to proceed
2007 Dec 06
0
saving the user id for thumbnails using attachment_fu
I am using attachment_fu to create thumbnails, and it is working
great. However, I am have a view with all my users thumbnails
displayed and am trying to make it so when you click on a thumbnail of
their avatar, it shows that users profile. In order to accomplish
this I have saved a user_id identifier for each avatar, but the
problem is that attachment_fu only saves this user_id for the main