Hi Sumit,
This message is shown when FancyBox expects for example an image but gets other content like inline html content upon the request.
Make sure you are using the correct class names for each media type. Class “fancybox” is reserved for images (jpg, png etc) while “fancybox-inline” should be used for inline content links and “fancybox-iframe” for external page links. “fancybox-youtube/vimeo/etc..” are reserved for related video host page links.
If you want me to tell you exactly what you need to do, please provide a link to the page where your issue can be seen live.
Hello Sir,
i Have use this code.and setting i have selected in media:- Images,Inline content. i want contact form 7 in popup. please suggest me and help me.
Contact Us
<div class=”fancy-hidden” style=”display: none;”>
<div id=”contact_form_pop”>[email-download download_id=”43″ contact_form_id=”31″]</div>
</div>
Thanks
Sumit
Contact Us
<div class=”fancy-hidden” style=”display: none;”>
<div id=”contact_form_pop”>[email-download download_id=”43″ contact_form_id=”31″]</div>
</div>
Your link code was transformed to a link so I cannot see the class you are using for it but you should be using class="fancybox-inline" to make FancyBox expect inline HTML content. If you use class="fancybox" then it will expect an image and display this error if it turns out to NOT be one.
Tip: to post code snippets on these forums use the CODE button or
Put code in between backticks.
Thanks for your suggestions .