Closed (fixed)
Project:
Galleria
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Mar 2011 at 22:09 UTC
Updated:
8 Sep 2011 at 14:29 UTC
I'm getting double // preceding the relative url path for the image galleries..
is this a problem or am i doing something wrong ? thanks
Comments
Comment #1
Gre commentedI just installed the modul and I have the same problem:
"//" at start of the url
Comment #2
jackhutton commentedIn D7 I reviewed the settings ; under configuration --- media ---Public file system path -- the path is correct: sites/default/files
Under field 'galleria_image' the
url is rendered uri (String, 48 characters ) public://gallery-images/example.jpg - doubling up on the '//'
the url is called in the
jquery.galleria.js
thickbox-compressed.js
galleria.theme,inc (include file)
so. how is this ..public getting written..
hmm.
Comment #3
jackhutton commentedthere is a function Galleria.addTheme..
that refers to the path.. in 3315
but i don't know enough to work with this..just a stab in the dark..
Comment #4
jackhutton commentedif I create a standard 'Article' and add an image..the double "//" doesn't get laid down..so it must be within the writing of the galleria..
Comment #5
jackhutton commented-- it doesn't look to me, as though the galleria images are picking up the image cache in Drpal 7..
i've changed image cache locations..
in D7 under content types
Administration » Structure » Content types » myGalleryContentType
under Manage Display tab, format , Galleria is selected with the settings selected for Zoomed image style: galleria_zoom
Preview image style: galleria_thumb
I see various image cache directories under
for example:
sites/default/files/styles/galleria_thumb/public/modules/image
sites/default/files/styles/large/public/field/image
..
but the galleria isn't saving content there.. its saved at the main default/files level. ..
anyone have success w. this module in Drupal 7?
hmm
Comment #6
Wesgro commentedAnyone looked at galleria.theme.inc line 96?
Remove the leading / and you have a fix
Comment #7
jackhutton commentedthanks.
I've tinkered with this line of code and it does work..
this would be a bug of some type, right..?
thank you for volunteering that bit of infomation.. i can move forward..
Comment #8
jackhutton commentednow that i've hard written the path..
.. and i'm able to render content i want to customize the display..
I've purchased the site's 'Twelve' Theme..
got it to render standalone..
uploaded the directory 'Twelve' to sites/all/modules/galleria/js/themes/twelve
how do i get galleria to render the twelve theme..
http://jackhutton.com/ruschmeyer/content/brustin-4#overlay-context=conte...
renders classic ..
i see the the gallery.loader.js
line 18
is 'opt' option.. do i add 'twelve' here..
i searched on 'classic' but didn't find the theme called out..
thanks
Comment #9
gopherspidey commentedTry the patch out in #1082882: Public/private paths and using the image styles. It fixes the public/private paths and uses imagecache to resize both the primary image and the thumbnail.
Comment #10
jackhutton commentedposted a patch question in the other queue.. thanks
Comment #11
jackhutton commentedstill trying to use the purchased 'Twelve' theme w. the drupal 7 install..
In sites\all\modules\galleria\js
jquery.galleria.js
line 488 in the
i tried changing 'undef' to 'twelve' .. of course, it didn't work :)
any ideas as to how to integrate the new 'twelve' theme here. .. it sure would look nice.. :)
thanks
Comment #12
jackhutton commenteddocumentation on the galleria site refers to this function
http://galleria.aino.se/docs/1.2/themes/using_themes/
Galleria.loadTheme('galleria/themes/classic/galleria.classic.js');the function
within the drupal 7 module has these comments
so..where is this 'src' being derived? can it be modified to the path to the 'twelve' directory in the modules js/themes directory?
thanks
Comment #13
jackhutton commentedI applied the patch from comment #9 manually - and it successfully renders from the imagecache files..
Thank you gopherspidey
Comment #14
jackhutton commentedHad success applying the 'twelve' theme.. posted the steps here:
after using the patch in comment #9 and lots of head scratching..
http://drupal.org/node/802206#comment-4231154
Comment #15
gilzero commentedsub
Comment #16
jackhutton commentedi have to work through an problem with IE 8 - the page bombs out w an 'tried 2 times' 'endless loop' warning/error message.. so, still not there.
it renders well with chrom, mozilla, safari..but not IE.. .. any thoughts?
Comment #17
gopherspidey commentedWhat is the url that you are working on?
I do not have any problems with my page. http://dev.shiningcity.org/content/dong-wang-clinic
Comment #18
jackhutton commentedlooks good & renders in IE8..
(you have some error messages ..you know. fb.. )
http://jackhutton.com/ruschmeyer/carolands
this is a test gallery.. test images.. I want to use their 'Twelve' gallery.. which i purchased..and integrated w. the module.. some hacks..
seems to work in Chrom, Mozilla, Safari but IE blows out.. javascript.. have to figure it out.. any ideas/tools for troubleshooting the javascript errors..or looping ..that IE is sensing..? thanks
its a good looking module if it would be supported, fixed..
thanks for your help here..
Comment #19
gopherspidey commentedWow that page crashes my IE 8!
(I would expect some errors, I am still working on the site)
Comment #20
jackhutton commentedyeah.. it does crash ie8.. how do i troubleshoot that .. i get no meaningful error messages..
Comment #21
s_leu commented@eggonbeagle
Just finished implementing theme select support in my local repository. This will be committed soon.
Comment #22
jackhutton commentedthanks.. I'm chomping at the bit :)
you have an amazing product here & can sell custom themes..but, def could use help - i have been trying to get this functional for an anxious friend/client..
reinstallled the module w. the Galleria 7.x-1.x-dev (2011-May-04) version and having problems - wondering whether to work through the or wait for your posting.. Thank you for working on this!!
Comment #23
miro_dietikereggonbeagle, i believe none of us is the origin of the jquery galleria plugin..
At least we as maintainers do our work without having any profit from the commercial galleria versions.
We (for s_leu to implement) even bought today a commercial theme to test the theme selector... Because we didn't have any access to a different custom theme.
Comment #24
jackhutton commentedwow.. thanks doubly. then. I would think the originators of galleria would be interested in the Drupal integration.. So. Thank you guys for expending the time, effort & $ I'm not as strong w. the .js and code
would you have any clue as to why the 'format column' (line 4 in the read me text) would no longer appear ? I cannot figure out how to bring that column back so I can select different imagecache versions.. I'll keep at this as well.
I reverted back to my previous install of galleria w. the twelve theme integration.. and will watch this thread..
again. Thank you all!
Comment #25
miro_dietikerI think pathes are clean now. Please reopen if needed.
Comment #26
miro_dietikerComment #27
kroimon commented