Sorry, I am full of questions, but not well equipped technically to answer them myself. :-)
I use very small imagecache square thumbnails in my views. I would like continue to use those small thumbnails in the view, but to define a different imagecache image size (medium square) to be used as the thumbnail in the Piclens display and then have PicLens load the original as it does now when the image is selected. The reason for this is that the small thumbnails displayed initially in the PicLens display distort so badly that they really distract from the effect.
Is there a straight forward way to achieve this? I looked at the code, but only have extremely limited hacking skills.
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | settings.jpg | 78.1 KB | joncup |
| #3 | Media RSS Setup.JPG | 85.73 KB | vanderlip |
| #3 | piclens panels.JPG | 60.23 KB | vanderlip |
Comments
Comment #1
swentel commentedheh, cool question also :)
I need to rethink the views and argument rss anyway - but not sure how at this point.
I have another extra day of on monday which I'll use to think about it :)
I'm going to close the other issue (basic support is there) and let the discussion go further here.
Also renamed the issue title.
Comment #2
swentel commentedThe next built (probably 14th of may) has a huge change in the piclens_views module.
If you add a mediarss argument now, an extra fieldset ('MediaRSS / PicLens) at the bottom of the views form will be available where you have to set three things:
1) imagefield (99% the same as the one defined in the fields section)
2) imagecache preset for thumbnail
3) imagecache preset for content (or choose default for original of course)
This should help you in your request to have different presets for either your view and the piclens feed.
On top of that, the code is better and foolproof (if you choose the right imagefield since I haven't added validation there and probably won't in the future)
I sharpened the dependencies for this module at this point to imagefield and imagecache also
(but you use them allready, so no problem here)
Let me know if this works out for you.
Comment #3
vanderlip commentedThanks a lot for your work!
This works exactly as I imagined when I click on the slide show link in the view.
The challenge is that the javascript option (the little blue arrows) don't appear on the images in the view if #2 is different than the imagecache setting in the fields, so the only way to start the PicLens interface is through the "start slide show link". Is there a way to address this?
I have selected:
1) Imagefield - sames as in the fields
2) imagecache - the one that I want to be the thumbnail in the PicLens display
3) Default
(see attached)
One other small point is that when Piclens views are placed in Panels, the "Start Slide Show" link appears at the top of the entire panel instead of with the view in the panel, so it is not clear to the user to which panel that message might belong. (See attached screenshot).
Comment #4
swentel commentedAah, I now understand the blue arrow problem, that isn't possible to fix sadly enough :(
As for the start slideshow link, D5 puts this in the messages div, I'm going to check if it's somehow possible to move this link into the panel area when you are in the panel and leave it in messages div when you are looking at the view directly.
One more thing, does the start slideshow link work, can I close the other issue you have with the 2 arguments in the panels, or is that issue still open ?
Comment #5
vanderlip commentedI am still unable to pass arguments to views or views in panels, and I followed up under that issue.
Thanks.
Comment #6
swentel commentedOk, thanks for the reply.
It's quite busy here the next two weeks, so I don't think I'll find some time resolving those issues untill the 1st of June, sorry about that. After that, I'll review them and (try to) come up with a solution.
Comment #7
joncup commentedok, i think this is doing something very strange for me. Since I installed the update, the rss feeds contain malformed urls.
http://site.net/files/imagecache/preview_default/files/trees/IMAG0002.JPG
should be
http://site.net/files/imagecache/preview/files/trees/IMAG0002.JPG
unless im missing something
Comment #8
swentel commentedMmm, this has probably something todo with the imagecache version. Which one are you using ? 1 or 2.
I'll check the code this weekend to get a fix.
Comment #9
joncup commentedi'm using version 2, i forget now, but I had some other issues with version 1
Comment #10
vanderlip commented@ swentel
Have you had any time to look at Piclens and Imagecache 2? I gave the latet dev version a try, and was unable to make it work with Imagecache 2.
Thanks again.
Comment #11
swentel commented@vanderlip, not yet, friday is the day.
I've seen imagecache 2.1 is out so I'm giving that a try.
Comment #12
swentel commented@vanderlip
issues with imagecache 2 & imagefield 2 should be solved. Can you try out ?
Comment #13
joncup commentedI tested the new patch to fix imagecache 2 & imagefield 2. Seems to work for me, but only if use a view type that shows fields; list view, table view... Most of the views on my site use the teaser view, in witch case each node gets an entry in the media rss feed that is very very close to correct but is missing the filename, example... Do you think there is any way to get this to work with non-field format views? I have code in the theme that decides whether or not the use sees a watermark or not, and I dont think i can control that doing field type views.
Comment #14
swentel commented@joncup,
teasers/nodes views type isn't supported at this moment, I'm working on this. cf http://drupal.org/node/270495, which also had a pagination feature request which is very necessary and quite critical when having lot's of images.
If list/table type work though and after confirmation of vanderlip, I would like to mark this issue as closed/fixed and move on to the other issue if that's alright with you.
Comment #15
swentel commented@joncup
support for teasers and full nodes is commited! If it works for you, close the issue ! :)
Comment #16
vanderlip commentedI can confirm that Piclens works for me with Imagecache 2 & Imagefield 2. I am, however,having problems with the placement of the blue start icon in Firefox 3. Instead of appearing in the lower left hand corner of the image is falls of the bottom of the picture. In IE 7, the blue start icon seems to come and go, but when it is there, its placement is correct. Not sure if this is just me or something with the module or Piclens.
Comment #17
swentel commented@vanderlip, the blue icon is not something this module generates, more a browser/piclens issue. I'll give a try on ff 3 on a local machine at home. Marking issue as fixed though for now.
Comment #18
swentel commentedno problems here with the blue icon so far, marking as closed.