Tagged: EXIF
-
AuthorPosts
-
September 1, 2015 at 6:56 pm #23858
Hi, is it possible to show mor EXIF data in the Symbiostock Express theme? By standard it shows the name and the keywords, but I would also like to show filsesize and picture ID. Thanks
September 1, 2015 at 11:11 pm #23859September 1, 2015 at 11:55 pm #23860Yes, ist that possible?
September 2, 2015 at 2:03 am #23861The best way to do this would be to create a child theme:
https://codex.wordpress.org/Child_Themes
And just add a new tab under the woocommerce template directory. You’ll need some familiarity with PHP to do this, but it’s not too difficult. The only caveat is when woocommerce and/or Symbiostock Express is updated, you may have to ensure that your changes are compatible with it.
September 2, 2015 at 2:54 am #23862OK, thank you.
September 7, 2015 at 7:58 pm #23904Hi there, wondering if there is an easy way to show Exif data like photography size in kb and resolution? i think these should be standard items in selling photo system. What do you think Robin?
September 7, 2015 at 8:05 pm #23905September 7, 2015 at 8:10 pm #23906You are fast Robin with every response here, tahnks. You are correct, after selecting from dropdown i can see the size. What if i have only one size, is there a way to disable dropdown and only show resolution and buy? I will have only one license, how i could show this file size? i assume is all php. Is there a way you can help me with this?
Or perhaps I could show this Exif inf in Woocommerce tab for this only one image. ( as there is no more) only 1 image – 1 product no more licenses. Date of picture was made. etc
September 7, 2015 at 8:22 pm #23907If you only have one product with one license, just add that content to the image description manually – that should be pretty easy. No reason to use the database at all. That way you can even format it with bold, or whatever you want.
I’ll get back to you on the default license stuff – I think there’s a way of choosing a default variation in WooCommerce already.
September 7, 2015 at 8:22 pm #23908I mean one license Robin, images around 150k. Sorry for my english.
September 7, 2015 at 8:33 pm #23910Using PHP to get megabytes:
<?php
$postid = get_queried_object_id();
echo round(filesize($GLOBALS[‘currSS’]->ss_media_dir.ss_get_post_meta($postid, ‘ss_media_filename’, true))/1000000);?>
Just put that anywhere on the product page where you want the megabytes to show up. If you want KB, change the 1000000 to 1000.
Give that a go and let me know
September 7, 2015 at 8:43 pm #23911September 7, 2015 at 9:13 pm #23914Hmm. I did try place it in description and in additional tab. I did try put in php template of “description” tab but sorry, dosen’t work. I have changed the quotes.
September 7, 2015 at 9:21 pm #23915September 11, 2015 at 8:27 pm #24028I really need to get some more EXIF data to show somehow on product page. Title/Description is this possible Robin?
-
AuthorPosts
You must be logged in to reply to this topic.