In the comment for the solution, someone asked:
I do not think how this figure to work with the URL generated by Dragonfly they look like this: / media / Beha_som_lang_straing_avaiv / 12_11_52_810_5x5.jpg? s = 7e360000, where 5x5.jpg my filename. I have tried to do something like: // img [@src = "/ media / / # {image}? S = *"] but did not find any suggestions that does not work? a???? February 25 4:18
I have a similar problem, in my case, the image path generated (jpg | png | gif) does not include the file name, they have Only these really long IDs are:
& lt; Img src = "/ media / BhbblsHOgZmSSIdNGQ4MTEyOGU3ZjViZmQwZTQ4MDAwMDAyBjoGRVRbCDoGcDoKdGhlbWJJIg0yMDB4MjAwIwY7BlQ" / & gt;
(Mongo / Using Dragnflu with Gridfejh)
These paths are presented properly, but I did not know that they have a cucumber / How to find in the Captain phase: P
Any thoughts? I looked, but they only examine the rendering of the image, without the presence of any html page. After answering my own question (he's working on making it easier):
/ P>
#route match '/ media /: dragonfly /: file_name' ,: to = & gt; Dragonfly [: images] # model Mongomapr :: document key class stores: Foto_uaidi, string key: Foto_nam string Cvi_deta: Photo and # viewed & lt;% = image_tag @ store.photo.thumb ( '274x207 #') URL ( : Suffix = & gt; "/ # {@ store.photo_name}") if @ store.photo% & gt; #cucumber Then I should show the picture "my_photo.png" / ^ image to me "(. +)" $ / Do | image on should I Page.should has_xpath ( "// img [contains (@rrc, \" # {image} \ ")]" end
The key [attachment] _name field Adding model, which automatically populates DragonFlue, and then it is passing as a suffix on url () and the root need to allow for the filename extras except for the generated Dragonfly identifier.
Comments
Post a Comment