Topic: Embedding autoviewer in Wordpress site

Hi all!

I am attempting to embed autoviewer within a wordpress website. I installed Nextgen flash viewer and Nextgen gallery and was able to activate both and upload a gallery of images.

I created the file for the .swf file I needed and it is exactly what they say it should be... I put the new folder I created in the plugins folder which is in the wp-content folder. However, on the plugin page, it claims that the file is not there.

When I try to put the gallery on a page all I see is a white space where the gallery should be..... And that's it! I have the gallery i.d. correct and the width and height match the images... So, I'm guessing it's that it's not recognizing the .swf file. Any idea why it's not? Thanks!

Alexa

Re: Embedding autoviewer in Wordpress site

Make sure your SWF file is named 'autoviewer.swf' (not 'viewer.swf') and that it has bene uploaded to the 'wp-content/plugins/nggflash-swf/' folder.

Steven Speirs
SimpleViewer Support Team.

Re: Embedding autoviewer in Wordpress site

Hi Steven,

This is what I have....

/public_html/blog/wp-content/plugins/nggflash-swf

and then autoviewer.swf inside there...... Can you see a problem?

Thanks!

Alexa

Re: Embedding autoviewer in Wordpress site

Also, I have tried deleting that file and re uploading it to no avail.

Re: Embedding autoviewer in Wordpress site

Please post the URL to your gallery so that we can be a look.

Steven Speirs
SimpleViewer Support Team.

Re: Embedding autoviewer in Wordpress site

The site is still under construction, however, here is the page that it's supposed to be embedded on... That white box shows up when I put the code in for the gallery.


http://doodliebop.com/temp/portfolio/

Last edited by alexah (2011-11-03 18:55:12)

Re: Embedding autoviewer in Wordpress site

Check the location of the 'autoviewer.swf' file on your web server.
Your embedding code includes the line:

swfobject.embedSWF("http://doodliebop.com/temp/wp-content/plugins/nggflash-swf/autoviewer.swf", "fo1_1", "800", "600", "7.0.0", false, this.flashvars, this.params , this.attr );

... but going directly to the SWF file's URL in a browser gives an error 404 (file not found).

Steven Speirs
SimpleViewer Support Team.

Re: Embedding autoviewer in Wordpress site

Ahhh-

I found the problem... I have more than one wordpress blog on my site... I was putting it under the /blog rather than the /temp.

Oops!

Now it is recognizing it. However, the blank white box remains....

Re: Embedding autoviewer in Wordpress site

Not sure how- But, I got it to work! Woohoo!  big_smile

I have another question though.... Have any idea how I could center in within the blog content area?

Thanks for all your help!

Re: Embedding autoviewer in Wordpress site

Try adding the following CSS to the <div> into which the gallery is embedded:

margin: 0 auto;
Steven Speirs
SimpleViewer Support Team.