search for: gallery

Displaying 20 results from an estimated 681 matches for "gallery".

2007 Mar 30
2
gallery issue...
Hi, i''m new of both webgen and ruby, so maybe this can be a dumb question, but i can''t recognize any solution by myself. I use webgen 0.4.1 (the newest webgen .deb package). I''m trying to make a test gallery, without succeeding in it. i done (ehm, copied) the yeah.gallery file in the root directory: 1 title: Example Gallery 2 imagesPerPage: 32 3 images: gallery/*.jpg 4 5 mainPageMetaInfo: 6 inMenu: true 7 otherKey: value 8 9 galleryPagesMetaInfo: 10 orderInfo: 10 11...
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 t...
2009 Feb 12
4
routes
I''m trying to figure this. in my schools controller i want to do this.... # implement a create action to create just the review for the School... def create_review_for_a_school @review = Review.new @school = School.find(params[:school_id]) @review = @school.reviews.build(params[:review]) if @review.save # The creation worked....do this flash[:notice] =
2006 Aug 09
1
Improvement: SiteMapper - working ideas as a possible RoR''s routing replacement
...#39;s called SiteMapper. 4. Moreover you can determine languages from url. 5. You can dump it instead of caching generated ruby code. 6. The class is only 8,3KB with comments. A real example: --------------- mapper = SiteMapper.new # firstly define the map and site structure... mapper.add( :gallery ) do |level1| level1.add( :mammals ) do |level2| level2.route( ''gallery/mammals'', :controller=>''gallery'', :type=>''mammals'' ) level1.add( :insect ) do |level2| level2.route( ''gallery/insect'',...
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 horizonta...
2006 May 11
4
modelling data to specify user access
...olio and galleries. I am sitting down mapping the data right now, but I am not sure how to handle this. How many tables to I need and how do I map them together? So far I have these tables: Users *ID *username *password Images *ID *image_name *path_to_image *path_to_thumbnail Galleries *ID *gallery_name and then I''m not sure about: Gallery_Names? User_Access? I''d appreciate help if anyone has had experience with this before... Jason -- Posted via http://www.ruby-forum.com/.
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]) flash[:notice] = ''...
2018 Jan 19
1
Leaflet maps. Nudging co-incident markers
...tutorial I found recently (https://allthisblog.wordpress.com/2016/10/12/r-311-with-leaflet-tutorial/) I have three categories of things (cafes, libraries and galleries), at three locations but have four objects in my set. This is because on of my locations has two functions - there is a cafe at a gallery (North St Gallery and the Gallery Cafe on the same site) If I make a selection that includes galleries and cafes there are just two points. I would like to nudge the point for the North St Galley and the Gallery Cafe so they appear as two (very close) points on the map and display the name whe...
2006 Jul 03
3
Open source gallery suggestion
Hello, I''m a RoR newbie. I need to develop a gallery site for a friend of mine. Can you suggest me an open source gallery I can start from? I just need to manage photos, albums and an admin user in order to modify albums. Thanks .Stefano
2007 Jan 22
5
Problem with xen on Centos-4.4?
I am running a Xen installation on a Centos-4.4 based test box, my desktop unit, and I am having intermittent problems installing certain pieces of software. Some time back I posted to this list regarding my inability to install Adobe Acrobat on this unit and was advised to essentially repackage the software and try again. This is beyond my present means of knowledge or time to acquire same and
2005 Dec 19
1
<% unless params[:context] == :gallery -%> question
...o different methods. I only want part of it too show up when it is called from one of the methods. It always shows up for me. Can someone help to point out my error? Below is the method that should keep part of the tempate from printing, and the relevent part of the template. method: def gallery @product_pages,@products = paginate(:products, :per_page => 12, :conditions => "sold != ''current''") render( :template => "store/index", :params => { :context => :gallery}) end template: <% unless pa...
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 vid...
2005 Feb 18
3
Hosting a R Graph Gallery?
Dear R users, Following some of the recent questions and discussions about the R plotting abilities, it occurred to me again that it would be very valuable to have an R graph gallery. Eric Lecoutre made a very nice example in: http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf It would be very useful to many beginners, but probably also advanced users of R, to have an overview of R graph types with graphical examples and associated R code. In orde...
2006 Mar 10
5
case insensitive search
I am having trouble with a simple gallery search. I type in a segment of the address and i only seem to be getting results if I use the correct case. This is in my Gallery controller: def search @gallery = Gallery.find(:all, :include => :property, :conditions => "address LIKE ''%#{@params[:keywords]}%&...
2006 May 22
2
Creating a new gallery layout
Hi, I''m trying to create a new gallery layout. I did the following: o create plugin/foobar.rb in my base directory. o copy plugins/gallerylayouters/default.rb in foobar.rb and make appropriate modifications. For simplicity, lets say my class looks thus: require ''webgen/plugins/gallerylayouters/default'' module Galler...
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_t...
2005 Jun 06
9
R Graph Gallery : categorization of the graphs
Hello all, It seems that the next improvement to the R Graph Gallery is categorization of the graphics, that way each graph will be easier to find. That step should be done *carefully* if we want to avoid the opposite side-effect : graph not reachable through the categories. That's why the wisdom of the R community is required. Graphics will be classified in...
2006 Jul 13
3
strange behavior with link_to for "blog" and "gallery"
Okay, what''s so different about the bellow code? When I use the link_to function in a partial (three times passing "Stats", "Blog", and "Gallery")... <%= link_to(menuItem.to_s, :controller=>menuItem.to_s.downcase)%> I get... <a href="/stats">Stats</a> <a href="/blog">Blog</a> <a href="/gallery">Gallery</a> and in my .css file I have: a:link...
2005 May 17
5
Strings, Variables and GetText
Hi, I''m starting to use GetText and have this code: render_text %(<script language="JavaScript" type="text/javascript"> parent.mainframe.onUpdateNew("Gallery <b>#{@media.name}</b> was successfully created.", "#{@media.name}","#{String(@media.id)}","#{@media.media_type}"); </script>) I need to convert it to use GetText, but what I need to do with the @media.name and how concaten with %() ?? The fun...
2009 May 12
3
forms & link css classes - not working
...The style for the links works, but not for the .urgent class. Also the style for the input.m_title will not work. When I view the source the class is written right too: <a href="/galleries/1" style="urgent">Destroy</a> and <input style="m_title" id="gallery_name" name="gallery[name]" size="80" type="text" value="Camp 09" />