<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Support Forum - Topic: Automatically so that Alt value, title default value is &#34;Product Name&#34;</title>
		<link>http://www.kriesi.at/support/topic/automatically-so-that-alt-value-title-default-value-is-product-name</link>
		<description>Support Forum - Topic: Automatically so that Alt value, title default value is &quot;Product Name&quot;</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 01:31:32 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/automatically-so-that-alt-value-title-default-value-is-product-name" rel="self" type="application/rss+xml" />

		<item>
			<title>livemx on "Automatically so that Alt value, title default value is &#34;Product Name&#34;"</title>
			<link>http://www.kriesi.at/support/topic/automatically-so-that-alt-value-title-default-value-is-product-name#post-37124</link>
			<pubDate>Tue, 10 Jan 2012 04:07:57 +0000</pubDate>
			<dc:creator>livemx</dc:creator>
			<guid isPermaLink="false">37124@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Dude, Hey&#60;/p&#62;
&#60;p&#62;Thank you for your help!&#60;/p&#62;
&#60;p&#62;Here is my modified code, update function-set-avia-frontend.php, but the page does not change, because not too familiar with, I did not succeed to achieve.&#60;/p&#62;
&#60;p&#62;Because the number of products are many, will need to modify successfully, please help! :)&#60;/p&#62;
&#60;p&#62;Look forward to your reply!&#60;/p&#62;
&#60;p&#62;Thank you!&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$image_description = $attachment-&#38;gt;post_excerpt == &#38;quot;&#38;quot; ? $attachment-&#38;gt;post_content : $attachment-&#38;gt;post_excerpt;
			$image_description = trim(strip_tags($image_description));
			$image_title = trim(strip_tags($attachment-&#38;gt;post_title));
/*			return &#38;quot;&#38;lt;img src=&#38;#39;&#38;quot;.$image_src[0].&#38;quot;&#38;#39; title=&#38;#39;&#38;quot;.$image_title.&#38;quot;&#38;#39; alt=&#38;#39;&#38;quot;.$image_description.&#38;quot;&#38;#39; /&#38;gt;&#38;quot;;
*/			return &#38;quot;&#38;lt;img src=&#38;#39;&#38;quot;.$image_src[0].&#38;quot;&#38;#39; title=&#38;#39;&#38;quot;.$post_title.&#38;quot;&#38;#39; alt=&#38;#39;&#38;quot;.$post_title.&#38;quot;&#38;#39; /&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Dude on "Automatically so that Alt value, title default value is &#34;Product Name&#34;"</title>
			<link>http://www.kriesi.at/support/topic/automatically-so-that-alt-value-title-default-value-is-product-name#post-36752</link>
			<pubDate>Fri, 06 Jan 2012 08:14:26 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">36752@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
this is a quite complex modification so I can only point you into the right direction. The image generation function can be found in abundance\framework\php\function-set-avia-frontend.php - search for following function:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;function avia_image_by_id&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Basically you need to replace:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$image_description = $attachment-&#38;gt;post_excerpt == &#38;quot;&#38;quot; ? $attachment-&#38;gt;post_content : $attachment-&#38;gt;post_excerpt;
			$image_description = trim(strip_tags($image_description));
			$image_title = trim(strip_tags($attachment-&#38;gt;post_title));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with custom code which checks for products sites and fetches the right titles then.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>livemx on "Automatically so that Alt value, title default value is &#34;Product Name&#34;"</title>
			<link>http://www.kriesi.at/support/topic/automatically-so-that-alt-value-title-default-value-is-product-name#post-36737</link>
			<pubDate>Fri, 06 Jan 2012 01:47:26 +0000</pubDate>
			<dc:creator>livemx</dc:creator>
			<guid isPermaLink="false">36737@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hello!&#60;/p&#62;
&#60;p&#62;Thank you! theme amazing! &#60;/p&#62;
&#60;p&#62;Hope “Alt” value, “Title” value by default is the “Product Name”, the general approach is to Set featured image in turn enter the “Title”, “Alternate Text”, but more so to modify the number of products will be very time consuming! &#60;a href=&#34;http://www.diigo.com/item/image/24k6s/va89&#34; rel=&#34;nofollow&#34;&#62;http://www.diigo.com/item/image/24k6s/va89&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Want to change the theme source code to automatically make Alt value, title default value is “Product Name”, but not equal to “image File name”. For example: View the product name is “Simple Downloadable Product” source code: class = “attachment-shop_catalog wp-post-image” alt = “Gnilenkov_Aleksey_9” title = “Gnilenkov_Aleksey_9” /&#38;gt;, to the effect automatically: class = “attachment-shop_catalog wp-post-image “alt =” Simple Downloadable Product “title =” Simple Downloadable Product ”/&#38;gt;.&#60;/p&#62;
&#60;p&#62;Look forward to pointing how to modify!&#60;/p&#62;
&#60;p&#62;First thank you!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
