Lightwindows and Javascript

  • 3
  • Question
  • Updated 10 years ago
  • Answered
Why am I able to embed javascript but not able to upload javascript files?

Also, could you enable a more simple method of utilizing the lightbox for in house images? The main reason why I want to upload javascript files is to be able to use this script: http://www.stickmanlabs.com/lightwindow/
It's the best and most versatile lightwindow that I have ever seen. It can play movies in the lightwindow and display inline text, pdf's, flash, external websites, external images, and more, as well as enable you to customize the lightwindow with little snippets of code that you can place next to your links.

I have tried simply embedding the javascript in the page and having the css and images uploaded in the files; but it doesn't seem to be working.... I'm not sure what's wrong.

I know that a lightbox is possible for this site. I did a little....er....tweaking to utilize the Flickr lightbox for some images; but I have only gotten it to load one image at a time. It won't let me put descriptions in the lightbox. It won't let me put the "next" and "previous" links in the lightbox, etc.

You an see the little test that I have done here: http://junebelle.synthasite.com/test.php

Thanks.
Photo of June

June

  • 5 Posts
  • 0 Reply Likes
  • frustrated

Posted 10 years ago

  • 3
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello June,
That is a really great question! When you put a snippet of javascript code on your site it is still in the context of the style. If uploading javascript files were allowed that would give people the ability to easily use them maliciously. I hope you can understand why we have this in place.

Have you seen our instructions for adding a Flickr Lightbox? The Flickr Lightbox widget allows you to quickly and easily create a slick photo gallery with thumbnails that link to larger images. Here's how it is done:

1) In the Content sidebar in SynthaSite, open the Photo Gallery folder.
2) Drag and drop a Flickr Lightbox widget onto your page.
3) In the properties sidebar enter your Flickr account email address (usually a Yahoo! address) in the email address field.
4) In the "Photo Count" field, enter the number of images you want to display.
5) In the "Search" field, enter the tags of the photos you want to pull from Flickr (make sure you have added tags to your Flickr photos or you will not get the desired result).
6) Specify how many columns you want for your photo gallery.
7) Click on the Image Size drop down menu to select small square, thumbnail or medium sized images.
8) Finally, choose between a "modern" or "plain" style for your photo gallery images.
9) Click the "Apply" button to update your photo gallery.

Now save and preview your page. You will have a gallery of clickable images. In the top right hand corner of the large view of the images, click the "next" button to view the next image in the gallery. Click the "Close" button when you are finished browsing through your gallery.

Note: If there are privacy settings on your Flickr photos the search will not be successful. The photos need to be publicly available for it to work.

We have a great tutorial for you to view, that will give more information about photo galleries, please click here: Photo Galleries.

Please let us know if we can help you further with this.

Emmy
Photo of June

June

  • 5 Posts
  • 0 Reply Likes
Yes, I know about the Flickr lightbox.... That's....how I managed to make that little test page there. I created a Flickr page, looked at the source code, and used that code to display images I uploaded. It worked...to a degree. The uploaded images open in a lightbox; but I can only open and close them one at a time. I can't hit the "Next" button for the next one. Nor can I put descriptions.

The reason why I don't want to use the Flickr option is because I want to be able to order the images as I see fit. The Flickr option does not give me that freedom. (Besides, that lightwindow that I linked to is a lot more versatile than just putting images in the window.)

You guys already have a lightbox embedded into the system somewhere. I utilized it on that test page. I don't understand why it can't be used for uploaded images.
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Sure, sorry for repeating something you all ready understood. I put a link in the last post to our Photo Gallery Tutorials which has a Do It Yourself approach, it is about halfway down the tutorial. Did you all ready look at this and it doesn't do what you want? I think this may be what you are looking for. Please let me know if it is not and I will see if I can help further.

Kind Regards,
Emmy
Photo of June

June

  • 5 Posts
  • 0 Reply Likes
Yes, I've seen that tutorial. It's an option; but I prefer the lightwindow for several reasons:

1. It cuts down on the number of pages that I have to create, thus cutting down on time and confusion.

2. The lightwindow loads in a lot faster.

3. The lightwindow does not take the visitor away from the gallery page, which means that the visitor does not have to waste extra time on reloading the gallery page each time that person wants to view another image. (I have always found this to be very annoying when I have visited other people's sites. I usually have to right-click on the image and open it in a new tab to get around this trouble.)

Besides, if I can get that lightwindow working, I could load more than just images into the lightwindow. I could load in contact forms or little info boxes or a bunch of other useful little things.
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hi June,
Unfortunately these are the only options available at this time but I will definitely forward this onto our engineering team as a feature request for future consideration. I'm very sorry we don't have a better solution at this time.

Kind Regards,
Emmy
Photo of June

June

  • 5 Posts
  • 0 Reply Likes
Okay, thanks.
Photo of Cosmic Sensorium

Cosmic Sensorium

  • 102 Posts
  • 5 Reply Likes
I also have this request!

I had asked about something similar on another post:
http://getsatisfaction.com/SynthaSite...
Photo of Monique

Monique, VP of Customer Support

  • 6294 Posts
  • 446 Reply Likes
Hi guys

We are taking note of this one! We have some plans for a photogallery that would work with the images in your file manager (not just Flickr). I will let the engineers know that you like the way the Lightbox works and would like to use it in other ways on your site than just with Flickr photos.
Photo of June

June

  • 5 Posts
  • 0 Reply Likes
Wow! Thanks! Thank you! :D I look forward to it. :D