Is it possible to insert svg images as Pivotx images?

Get help with installation and running PivotX 2.0.x here. Please do not post Extension or Theme related questions here.

Is it possible to insert svg images as Pivotx images?

Postby dasmi » Fri Aug 01, 2014 9:17 am

Hi, I'm quite new to pivotx.
I wonder if it is possible to insert svg images as pivotx popup in posts. At the moment I just managed to insert svg images inside a post, but not as Pivotx Popup. That would be very useful.
There is some way to achieve it?

Thank you in advance for your answers
dasmi
 
Posts: 2
Joined: Sun Jul 20, 2014 12:55 pm

Re: Is it possible to insert svg images as Pivotx images?

Postby Harm10 » Sat Aug 02, 2014 12:51 pm

You can do that (I just tested it with a simple svg code) using extension Fancybox,
Using the iframe option you can code something like this in your content:
Code: Select all
[[popup description="Own HTML" title="My content" fb_type="iframe" url="../../images/htmlcode.tpl" align="left"]]

The tpl file contains your desired svg html code.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Is it possible to insert svg images as Pivotx images?

Postby dasmi » Mon Aug 04, 2014 4:11 pm

Nice, thank you Harm10.
Do you know if it's possible to add as well a thumbnail inside the post body, like for other image formats?
I'm sorry if the question is very basic, but I am still learning.

Thank you in advance
dasmi
 
Posts: 2
Joined: Sun Jul 20, 2014 12:55 pm

Re: Is it possible to insert svg images as Pivotx images?

Postby Harm10 » Mon Aug 04, 2014 7:13 pm

I guess you mean a clickable thumbnail in the content to show the popup?
If so please read the extension's documentation (available through the dashboard). Just above the part about the parameters itself is an example how to create a thumbnail together with type iframe.

If you need detailed help you can also give me access to your site and point out what you want by sending me a PM.

To see some of the possibilities of extension Fancybox you can have a look at my site:
http://www.remark-webdesign.nl/page/fancybox-en/remarkwebdesignen
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)


Return to 2.x Support Forum

Who is online

Users browsing this forum: No registered users and 11 guests

cron