J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Ignore base-encoded images (1 viewing) 
Go to bottom
TOPIC: Ignore base-encoded images
#3434
SK-web
Fresh Boarder
Posts: 7
User Offline
Ignore base-encoded images Karma: 0  
I have set the flags for my language selectors to use base-encoding, so the source is something like this:

data:image/gif;base64,R0lGODdhEgAMAPEAACFGi////64cKAAAACwAAAAAEgAMAAACF5SPqcvtr4KctNqLs94W+A+G4kiW5ikWADs=

Now I would like to exclude those from the image sitemaps. I tried this by simply taking a part of the string that is identical for both these images ( R0lGOD ) and set that in the exclude filter for the image XML-sitemap, however, it is not being accepted.
Do you know if this is possible?
 
Logged Logged  
  The administrator has disabled public write access.
#3435
John Dagelmore
Admin
Posts: 3716
User Online Now
Re:Ignore base-encoded images Karma: 79  
Yes that's possible but take it easy, just use a 'base64' string in the exclude filters.

Just add the 'base64' comma separated for ALL data sources involved in the images sitemap generation and clear ALL cache to ensure to refresh the images sitemap excluding all images having the string 'base64' in the path like this: data:image/gif;base64,R0lGODdhEgAMAPEAACFGi////64cKAAAACwAAAAAEgAMAAACF5SPqcvtr4KctNqLs94W+A+G4kiW5ikWADs=

Regards
 
Logged Logged  
  The administrator has disabled public write access.
#3436
SK-web
Fresh Boarder
Posts: 7
User Offline
Re:Ignore base-encoded images Karma: 0  
Perfect! Thanks for the quick response again
 
Logged Logged  
  The administrator has disabled public write access.
Go to top