Displaying 20 results from an estimated 7000 matches similar to: "strange behavior with link_to for "blog" and "gallery""
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
2005 Dec 19
1
<% unless params[:context] == :gallery -%> question
I have a template that is called by two 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,
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:
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 GalleryLayouters
class Foobar <
2006 Apr 17
3
Please help : how to link_to() and css styles ?
Hello, I''m having hard times on a very simple problem : how to provide a
css class to a link_to tag ?
I''m using this :
<%= link_to ''Cancel'', :action => ''list'', :class => ''btn-cancel'' %>
and RoR produces this :
<a href="/gallery/list?class=btn-cancel">Cancel</a>
I''ve read the doc
2007 Nov 01
1
[Bug 13045] New: Gallery application at www.weekend.ee not working
http://bugs.freedesktop.org/show_bug.cgi?id=13045
Summary: Gallery application at www.weekend.ee not working
Product: swfdec
Version: 0.5.3
Platform: x86-64 (AMD64)
URL: http://www.weekend.ee/?gid=1273
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: plugin
2005 Oct 07
1
The R Graph Gallery {was boxplot statistics}
I agree with Martin "R Graph Gallery" has a lot of neat stuff.
I also think there should be a on CRAN website a list of "R websites". And
in a perfect world one of the search engines scope would get extended to
search them all.
Jarek
====================================================\====
Jarek Tuszynski, PhD. o / \
Science Applications
2007 Oct 15
4
[Bug 12812] New: swfdec doesn't display gallery
http://bugs.freedesktop.org/show_bug.cgi?id=12812
Summary: swfdec doesn't display gallery
Product: swfdec
Version: unspecified
Platform: Other
URL: http://www.puropittsburgh.com/gallery/index.swf
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: plugin
2007 Mar 19
1
Running Corel Gallery, unable to register dll
Hello,
I'm trying to run Corel Gallery.
I've installed succesfully the application.
When I select convert in menu, nothing happen and wine said :
err:ole:CoGetClassObject class {57a17730-e8d6-11d1-b1ff-99a7a7feb94a}
not registered
err:ole:CoGetClassObject no class object
{57a17730-e8d6-11d1-b1ff-99a7a7feb94a} could be created for context 0x1
On a regular windows, the id matches this
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
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
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
2009 Nov 12
1
Please help me ------ Mapping an item to article
Hi everybody,
I have a form like this
<h1>New menuitem</h1>
<% form_for(@menuitem) do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :title %><br />
<%= f.text_field :title %>
</p>
<p>
<%= f.label :alias %><br />
<%= f.text_field :alias %>
</p>
<p>
<%= f.label
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
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 :
- categories
-
2006 Aug 14
0
Coppermine Photo Gallery Integration
I have a RoR app that currently uses file_column for image upload and
display. The app is part of a website that uses CPG for running a photo
gallery, and I''d like to know if anyone has interfaced a RoR app to CPG
by any chance. I want to dump file_column and let CPG handle my images.
--
Posted via http://www.ruby-forum.com/.
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 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]}%''")
end
On a different note:
I am having
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
2008 Feb 11
1
image_tag is it just plain Broken?
I''m trying
<%= link_to image_tag("#{gallery.link_to}"), gallery_path(gallery)
unless gallery.thumbnail_id == 0%>
and get the error:
ActionView::TemplateError (undefined method `image_tag'' for #<Gallery:
0xb7083be4>) on line #23 of app/views/users/index.rhtml
This is my definition of link_to
def link_to
unless self.thumbnail_id == 0
picture =