Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › WP Photo Seller and WP Lightbox
- This topic has 6 replies, 3 voices, and was last updated 10 years, 5 months ago by wpCommerce.
-
AuthorPosts
-
June 6, 2014 at 12:08 am #10963johnzenaSpectator
In the description area of WP Photo Seller I put in the following codes:
<p>We also offer a framed version of the above image - [wp_lightbox_prettyPhoto_anchor_text_image link="http://wondervegas.com/wp-content/uploads/2014/Orlando-Montenegro-Cruz/athena-with-frame-watermarked.png" text="Click here for an example" description="Athena Canvas Print with Frame"].</p>
<p><a rel="wp_lightbox_prettyPhoto_anchor_text_image" href="http://wondervegas.com/wp-content/uploads/2014/Orlando-Montenegro-Cruz/athena-with-frame-watermarked.png" title="Athena Reproduction Canvas Print with Frame">Click here for an example</a></p>
The shortcode did not work but the 2nd part did. Is this normal or should they both work? Not a big deal because I guessed on the second one and it worked fine.
Thanks John
June 6, 2014 at 12:40 am #63540PeterMemberIn the description area of WP Photo Seller
Can you clarify exactly which area you are referring to?
Is it in the image edit screen?
June 6, 2014 at 1:26 am #63541johnzenaSpectatorIf you look at this image I put the shortcode in the description field on the WP Photo Seller editing page. Here is a picture:
[http://wondervegas.com/wp-content/uploads/2014/06/wpsellereditingpage.png]
June 6, 2014 at 1:38 am #63542wpCommerceModerator@johnzena, please change your link to the following to open the image in lightbox:
<p><a rel="wp_lightbox_prettyPhoto" href="http://wondervegas.com/wp-content/uploads/2014/Orlando-Montenegro-Cruz/athena-with-frame-watermarked.png" title="Athena Reproduction Canvas Print with Frame">Click here for an example</a></p>
What do you see on the front end when you use the shortcode?
June 6, 2014 at 1:55 am #63543johnzenaSpectator@wpCommerce, the link you have me and the one I used above work the same. It’s this version of the shortcode that doesn’t work.
[wp_lightbox_prettyPhoto_anchor_text_image link="http://wondervegas.com/wp-content/uploads/2014/Orlando-Montenegro-Cruz/athena-with-frame-watermarked.png" text="Click here for an example" description="Athena Canvas Print with Frame"]
June 6, 2014 at 1:58 am #63544johnzenaSpectatorPlus one more thing, my computer was on the editing page when we had a power outage now I have this error in the error_log file.
[31-May-2014 03:51:33 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘/proc/self/environ’ at line 1 for query SELECT post_id FROM wp36ECRYTox_postmeta WHERE meta_key = ‘_wpps_gallery_id’ AND meta_value = /proc/self/environ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/weaver-ii-pro/page.php’), get_template_part, locate_template, load_template, require(‘/themes/weaver-ii-pro/content-page.php’), weaverii_the_page_contnt_featured, weaverii_the_contnt, the_content, apply_filters(‘the_content’), call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WPSShortcodeManager->photoDetailsView, WPSCommon::getView, include(‘/plugins/wp-photo-seller/views/photo/photo-details-template.php’), WPSGallery::getGalleryItems, WPSGalleryItem::get_gallery_image_ids
[31-May-2014 03:51:34 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘/proc/self/environ’ at line 1 for query SELECT post_id FROM wp36ECRYTox_postmeta WHERE meta_key = ‘_wpps_gallery_id’ AND meta_value = /proc/self/environ made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/weaver-ii-pro/page.php’), get_template_part, locate_template, load_template, require(‘/themes/weaver-ii-pro/content-page.php’), weaverii_the_page_contnt_featured, weaverii_the_contnt, the_content, apply_filters(‘the_content’), call_user_func_array, do_shortcode, preg_replace_callback, do_shortcode_tag, call_user_func, WPSShortcodeManager->photoDetailsView, WPSCommon::getView, include(‘/plugins/wp-photo-seller/views/photo/photo-details-template.php’), WPSGallery::getGalleryItems, WPSGalleryItem::get_gallery_image_ids
June 8, 2014 at 12:47 am #63545wpCommerceModeratorIt might a temporary error. Please delete the error log and see if it is created again.
-
AuthorPosts
- You must be logged in to reply to this topic.