similar to: Small design problem

Displaying 20 results from an estimated 20000 matches similar to: "Small design problem"

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
2006 Mar 08
3
attribute or instance method or what?
Hi! Uhm are attributes just something like additional members of a class, other than those that come from the names of columns in the table? I''ve got images table, which has ''name'' column. I''ve added support 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
2006 Jun 22
5
Sliding Gallery
I have a little image gallery application in rails enough for small galleries (20< photos). But as images increase and the user needs to scroll down the page it starts getting anoying to see all pictures... I thought pagination but then I saw this AJAX goodness http://www.apple.com/getamac/ads/ As you can see the videos scroll right/left when the arrows are pressed in a circular manner
2008 Jan 10
0
BUG? has_many :through makes funny queries
So I have this structure. class Gallery < ActiveRecord::Base belongs_to :owner, :polymorphic => true has_many :folders, :order => ''slug'', :dependent => :destroy class Folder < ActiveRecord::Base has_many :photos, :dependent => :destroy, :conditions => "parent_id IS NULL" belongs_to :gallery class User < ActiveRecord::Base has_one
2018 Jan 19
1
Leaflet maps. Nudging co-incident markers
I have a dataset showing points, with a category for each point and its location. I simply want to display my points, in a way that users can toggle the points on and off by category. Where I have two objects in the same category I'd like to display them nudged to appear as two distinct, but very close points. I have made reproduceable example (the places are not real), which is loosely
2005 Sep 14
4
How to drag/drop visitable anchors ?
Hi ! I have the following: <li id="photo_<%= @photo.id %>" class="photo"> <%= link_to(image_tag(url_for_file_column(:photo, :picture)), {:action => ''photo'', :id => @photo}, {:title => @photo.description}) %> </li> <script type="text/javascript" language="JavaScript"><!--
2007 Jan 05
0
webgen 0.4.0 released
Hey all, finally a new webgen release :-) More information and install instructions below! Thanks for all the help and feedback! Bye, Thomas ------------------- About ===== webgen is used to generate web pages from page and template files. You create one or more template files in which you define the layout of your page and where the content should go. After that you create page files
2009 Jun 24
16
Web photo gallery options
Hi all, I'm looking for a web photo gallery for my personal web server at home. Till now I've done the galleries manually from Adobe Photoshop Elements, but I feel that is a dead end, kinda', besides the fact that the galleries created are rather static. I'd like an easier way to do this, eg uploading images in folders directly to the gallery and it will take care of what needs to
2006 Jun 08
5
update only the join table in a HABTM - how?
I have a photographers app that requires giving access to galleries for users. in one part, I want to be able to define gallery access for a user seperate from updating any of the user info. I have this function: def edit_access @user = User.find(params[:id]) @user.galleries = Gallery.find(params[:gallery_ids]) if params[:gallery_ids] if @user.update_attributes(params[:user])
2006 May 11
4
modelling data to specify user access
Hello, this is my second Rails app, and the first one I did had simple data mapping. This time I am building a site for a photographer, and they want to upload photos, and create galleries that only certain clients can log in and have access to. There will be multiple galleries, and the access to them will vary depending on how the admin assigns it to each client. There is also a porftolio
2010 Mar 17
0
odfWeave: odt-file damaged
Dear all, I'm resurrecting this old post (about 6 monts old, reproduced thereafter) because I have struggled against the same problem and found a solution so that I found it was worth posting for the record. The simple fix when you want to use odfWeave with 7-ZIP as a compressing/decompressing utility under windows is to use the 'x' instead of the 'e' option so as to preserve
2006 Apr 21
1
Which internationalization plugin to choose?
Hi, I need to create rather simple page (gallery + news), but it has to be in 3 different languages (polish, english, german). Which plugin do you recommend? How to store translated data in the database - in a single table with separate field for every language or in separate table for every language? -- Posted via http://www.ruby-forum.com/.
2006 Jun 20
1
R galleries
Hello! I just noticed new link on R wiki on R galleries and wanted to share this info with YOU! - R graphical manuals (this is awesome page as there are all help pages of all packages on CRAN and probably even more and all graphics examples are displayed! - more than 8000 images!) http://bg9.imslab.co.jp/Rhelp/ This is a very nice addition to already existing R graph and movies galleries - R
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
2008 Feb 22
0
Image Gallery with custom thumbs...?
Hello all, I''m fairly new to RoR, have done many different tutorials, but am now trying to build something on my own. I would like to create a portfolio gallery. I plan on using customized thumbs, not scaled, but custom cropped and resized in Photoshop. The reason for this is these will not be photos but portfolio pieces and I would like the thumbs to focus on a vital part of the piece.
2006 Feb 17
1
validate() with has_many association
I''m creating a simple portfolio site for a painter. I have a painting and an image model with following relationship: Painting has_many :images Image belongs_to :painting On the edit screen the user can edit the Painting data as well as upload pictures for a thumbnails and full size image. The Image model extracts filename, width, and height from the uploaded file, saves those
2006 Apr 24
0
ImageMagick and EXIF Data
Hi there, I''m writing a little application that parses an image file and extracts the camera settings from the file (the EXIF data) and saves all the fields to the database. The idea is that after awhile people will be able to search based on camera make, model, lens settings, etc... and all the pictures that meet those requirements will be displayed. The picture is stored on the file
2006 Mar 27
3
RMagick and thumbnails
I''ve based my code on the Agile example for uploading files, pages 362-365. I''ve successfully loaded the Picture object to the database, but I come unstuck when trying to replicate this for a thumbnail version of the original image: thumbnail = Thumbnail.new thumbnail.name = ''thumbnail_'' + @picture.name.to_s
2009 Jul 06
1
odfWeave: odt-file damaged
Dear all, I am doing my first steps with odfWeave. After running the r code (see below), I am trying to open the ODF-document with open office, but I am getting the error message: "The file is damaged, but it can be repaired". If I confirm the question and repair the file with open office, I can open it with the desired output, which seems to be fine. My system: R Version 2.9.1
2011 May 14
1
odfWeave 0.7.17 stutters on Debian testing 64-bit amd64 systems.
Dear list, This is a copy of a mail sent to Max Kuhn, original author and maintainer of the odfWeave package, which seems not to have received it. It reports a problem that seems to be very implementation specific (reproductible on three Debian testing amd64 machine, does *not* happen on two i686 Debian testing systems, does *not* happen on an Ubuntu 11.06 amd64 machine) and therefore not