Page 1 of 1

Article + Galleryview -> EL Undefined

Posted: Wed Jun 24, 2015 11:52 am
by Bluefox
Did try this in an article view

Code: Select all

{AG rootFolder="/images/sampledata/" thumbWidth="200" thumbHeight="120" newImageTag="1" newImageTag_days="7" paginUse="1" paginImagesPerGallery="10" albumUse="1" backgroundColor="#ffffff" foregroundColor="#808080" highliteColor="#fea804" frame_width="500" frame_height="300" showSignature="1" plainTextCaptions="1" ignoreError="1" ignoreAllError="0" thumbAutoSize="width" template="galleryView" popupEngine="slimbox" arrange="priority"}parks{/AG}
did notice in Firefox that there is an undefined "el" and it points to line 325 of jquery.galleryview.2.1.1.js
It's repeating that function a lot of times due to that error so definately something that should change!

Re: Article + Galleryview -> EL Undefined

Posted: Wed Jun 24, 2015 11:59 am
by Bluefox
it's pointing to this code,

Code: Select all

var left = 0, top = 0;
var el_id = el.id;

but shouldn't it be something like

Code: Select all

function getPos(el) {
var left = 0; 
var top = 0;
var el_id = el.id;
think the "top" should be defined seperatly but can be wrong.

Re: Article + Galleryview -> EL Undefined

Posted: Wed Sep 30, 2015 11:19 pm
by Vasiljevski
GalleryView is a third-party script and probably old one :)
I will try to find and updated and see if that solves the problem.

https://github.com/vasiljevski/admirorgallery/issues/12