search for: albumid

Displaying 4 results from an estimated 4 matches for "albumid".

Did you mean: albumin
2006 Mar 27
0
update subset of my data
Please can someone put me out of my misery... I am missing the point here: I have a table of albums called: dealers I have a table of images: popp_images each dealer has 6 popp_images linked by foriegn key: albumid Each dealer can login using user_engine engine I restrict viewing for each dealer to their own images by assigning each dealer their own albumid. I list their images with: in my controller: def list @dealers = Dealer.find_all @dealer = current_user.albumid @popp_image_pages, @pop...
2006 Jun 06
8
How do I wrap a <%= link to %> around an image?
...t;http://www.example.com") %> But of course, all of the variables are being translated into HTML literally instead of coughing up their values, so that''s no good. So I tried this: <%= link_to "something", {:action => ''show_album'', :album => @albumid, :photo => photo.filenumber} %> <img src="../../images/photos/<%= photo.photogroup %>/TN_<%= photo.photogroup %><%= photo.filenumber %>.jpg" alt="<%= photo.description %>"> Which works well, except that the best I can have with this is a t...
2006 Jul 17
6
3 newbie questions
...o_many :tags" but to make it work I need to rename ImagesTags(imageid,tagid) to Images_Tags(image_id,tag_id). My question is that given that I can''t rename the table, is there any way to make it work with the original names? Second question: I have 2 tables like this: Picture(id,name,albumid) Albums(id,name) in my Picture model I put: belongs_to :album, :foreign_key => "dirid" and in my Album model I put: has_many :images Yet, in my album/list.rhtml when I put : <td><% for picture in album.pictures %> <%= picture.name %> <% end %> </td> I...
2000 Aug 02
4
RDF Metadata Specification
I've put together the first attempt to defining an RDF metadata vocabulary for use with the CD Index/MusicBrainz/OggVorbis. If you care about metadata issues, please take a look at: http://www.cdindex.org/MM I've included a section for video specific stuff, but everything that I originally had in there is being covered by the MM:Contributors section. The Contributors stuff will allow