Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
radapple
Experienced
Topic Author
Posts: 29
Joined: 28 Sep 2006, 15:35

Add This

18 Nov 2014, 14:23

It would be possible to include social sharing buttons example Add This.
thanks
http://pureapixel.com/
 
User avatar
mjau-mjau
X3 Wizard
Posts: 12248
Joined: 30 Sep 2006, 03:37

Re: Add This

19 Nov 2014, 12:35

Yes. I would prefer a lighter- and more elegant design integration for social sharing ... However, we may need to add an option for add_this because of all the options it offers ...

May I ask, were you mainly thinking of "share" for the current page, or share for images (and basically everything)?
 
User avatar
radapple
Experienced
Topic Author
Posts: 29
Joined: 28 Sep 2006, 15:35

Re: Add This

20 Nov 2014, 00:09

I think it would be nice to share social image , to service the mine was an example.
thanks.
http://pureapixel.com/
 
User avatar
mjau-mjau
X3 Wizard
Posts: 12248
Joined: 30 Sep 2006, 03:37

Re: Add This

20 Nov 2014, 01:18

Sharing is definitely an important feature we will be adding soon. We just want to integrate it so it does not clutter the interface ... Stay tuned!
 
User avatar
radapple
Experienced
Topic Author
Posts: 29
Joined: 28 Sep 2006, 15:35

Re: Add This

20 Nov 2014, 02:24

good
http://pureapixel.com/
 
User avatar
dxodik
Experienced
Posts: 41
Joined: 27 Apr 2013, 06:04

Re: Add This

01 Dec 2014, 05:27

So far there is no ready decision.
It is possible to use such option to insert a code addthis to footer
As makeshift - works :roll:

http://studiodr.ru
 
User avatar
mjau-mjau
X3 Wizard
Posts: 12248
Joined: 30 Sep 2006, 03:37

Re: Add This

01 Dec 2014, 13:41

dxodik wrote:So far there is no ready decision.
It is possible to use such option to insert a code addthis to footer
May I ask though, is your main wish to have a sharing feature available to share each page? ... or do you want social sharing buttons on each and every image in your galleries also, regardless of layout style (grid, slideshow, carousel etc)? These features are very different in terms of integration.
 
User avatar
dxodik
Experienced
Posts: 41
Joined: 27 Apr 2013, 06:04

Re: Add This

01 Dec 2014, 18:48

May I ask though, is your main wish to have a sharing feature available to share each page? ... or do you want social sharing buttons on each and every image in your galleries also, regardless of layout style (grid, slideshow, carousel etc)? These features are very different in terms of integration.
Social buttons in each photo it is better(at full-size display), according to one photo you get to an album.
But the blog - all page.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 12248
Joined: 30 Sep 2006, 03:37

Re: Add This

02 Dec 2014, 00:52

I will look into this in the end of the week, or early next week ...

It is easy to add "page sharing", because the sharing buttons can easily be placed, and they simply share the page. It is more complicated for images, because we need to figure out where to add the sharing buttons, and also where the share-link should go to ... Since images aren't displaying on unique pages, we would need to either A) Share the direct link to the image, which would be outside the website or B) Share the link to the page that contains the image (but not the image itself).
 
User avatar
dxodik
Experienced
Posts: 41
Joined: 27 Apr 2013, 06:04

Re: Add This

02 Dec 2014, 03:51

I noticed this feature (separately the photo)
It is possible to stop on the button for the page, and not to complicate a code
but this function isn't so important now, I found makeshift
Russian iptc/exif symbols.. :roll:
 
User avatar
mjau-mjau
X3 Wizard
Posts: 12248
Joined: 30 Sep 2006, 03:37

Re: Add This

03 Dec 2014, 11:27

Do you have a link to an image in your website with dysfunctional IPTC/EXIF? I would like to get the image so I can do some testing ...
 
User avatar
dxodik
Experienced
Posts: 41
Joined: 27 Apr 2013, 06:04

Re: Add This

03 Dec 2014, 17:49

mjau-mjau wrote:Do you have a link to an image in your website with dysfunctional IPTC/EXIF? I would like to get the image so I can do some testing ...
http://studiodr.ru/galleries/backstage
This folder have test image. Thanks.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 12248
Joined: 30 Sep 2006, 03:37

Re: Add This

04 Dec 2014, 01:22

Ok, so I spent several hours digging into this issue, and I found out the following. First of all, it works nicely when I add the meta data:
Image

I spent a few hours seeing if there was something in the PHP code which could fix it first, but there is something seriously non-standard in your EXIF/IPTC encoding. How are you adding the data? I tried iconv conversion, mbstring, but the best I could get from it when using mb_convert_encoding, was the following output:
Code
Ìàñòåðñêàÿ Äðóãîé Ðàêóðñ; Äèìà Õîäîñîâ
I then proceeded to download the EXIFTOOL application for diagnosing EXIF+IPTC data, and here are my findings:

First, lets read the encoded charset of MINE:
Code
macbook:9.exif karlward$ ExifTool -IPTC:CodedCharacterSet mine.jpg
Coded Character Set             : UTF8
YOURS (it returns nothing, no encoding):
Code
macbook:9.exif karlward$ ExifTool -IPTC:CodedCharacterSet yours.jpg
(empty)
Let's try to read the ObjectName of MINE:
Code
macbook:9.exif karlward$ ExifTool -IPTC:ObjectName mine.jpg
Object Name                     : привет из Москвы
YOURS (something obviously wrong):
Code
macbook:9.exif karlward$ ExifTool -IPTC:ObjectName yours.jpg
Object Name                     : Ìàñòåðñêàÿ Äðóãîé Ðàêóðñ; Äèìà Õîäîñîâ
If i try to do the same with yours:
Code
macbook:9.exif karlward$ ExifTool -IPTC:ObjectName="привет москва" yours.jpg
Warning: Some character(s) could not be encoded - yours.jpg
    1 image files updated
Then try to read it:
Code
macbook:9.exif karlward$ ExifTool -IPTC:ObjectName yours.jpg
Object Name                     : ?????? ??????
OK, lets try to set CodedCharacterSet=utf8 on your image:
Code
macbook:9.exif karlward$ ExifTool -IPTC:CodedCharacterSet=utf8 yours.jpg
    1 image files updated
Try to set title again ... works!
Code
macbook:9.exif karlward$ ExifTool -IPTC:ObjectName="привет москва" yours.jpg
    1 image files updated
Reads properly now!
Code
macbook:9.exif karlward$ ExifTool -IPTC:ObjectName yours.jpg
Object Name                     : привет москва
Basically this is related to the application you are using to store the IPTC data. Whereas it should be "UTF-8", your application isn't setting any charset at all ... Since it isn't setting any charset, it can't even be converted in PHP. I think it can be solved if you set a default IPTC encoding from the application you are using. This is specifically related to your images, and I can't "convert" it from the X3 PHP. I was reading some posts about this, and it could be related to using old software like PS7 (or if your images are old) ... Here are some very related topic:

http://feedback.photoshop.com/photoshop ... ly_6885591
http://stackoverflow.com/questions/1378 ... ata-in-php
http://forums.camerabits.com/index.php?topic=4976.0

Here is the all-powerful EXIFTOOL application available for both windows and mac, although it requires using terminal:
http://sno.phy.queensu.ca/~phil/exiftool/
http://gnarlodious.com/Computer/Shell/ExifTool.html
 
User avatar
mjau-mjau
X3 Wizard
Posts: 12248
Joined: 30 Sep 2006, 03:37

Re: Add This

04 Dec 2014, 02:42

Here is the image I was working on with cyrillic displaying correctly https://d.pr/i/11uu7