Jul 18, 2013 17:20
thank's again... bye
Jul 18, 2013 17:20
ok
Jul 18, 2013 17:20
see you soon
Jul 18, 2013 17:20
i will try to resolve other problem the validation
Jul 18, 2013 17:19
thanks for all
Jul 18, 2013 17:19
i gave it ok
Jul 18, 2013 17:19
ok
Jul 18, 2013 17:17
annyway thank for that
Jul 18, 2013 17:15
:)
Jul 18, 2013 17:15
0
Q: Markup Validation Service problem with alt images

BatmanHy,i have try over a week to validate 4 images that are retrived by a code with GD Star Rating plugin This is the code i have: <?php wp_gdsr_render_rating_results(array('template_id' => 49, 'rows' => 4, 'select' => 'post', 'hide_empty' => false, 'min_votes' => 0, 'min_count' => 0, 'excerpt_wor...

Jul 18, 2013 17:14
let me search the question
Jul 18, 2013 17:14
i ask .. but nobody answer
Jul 18, 2013 17:13
i know.. but i change every time when i make an update
Jul 18, 2013 17:12
wath you work
Jul 18, 2013 17:12
can i use .urlencode( into my actual code
Jul 18, 2013 17:12
is for rathing
Jul 18, 2013 17:11
gd star rathing plugin... is for free
Jul 18, 2013 17:11
is a plugin
Jul 18, 2013 17:07
Jul 18, 2013 17:06
Line 461, Column 189: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.

…o/wp-content/uploads/clifton-collins-jr.jpg&amp;h=70&amp;w=55&amp;zc=1"/></div>
Jul 18, 2013 17:05
i want the alt of the image to be the title
Jul 18, 2013 17:05
to validate the image
Jul 18, 2013 17:05
atribute
Jul 18, 2013 17:04
every image have an alt=""
Jul 18, 2013 17:03
other thing i want if you ar kind how to set up the alt image
Jul 18, 2013 17:03
yeeee
Jul 18, 2013 17:03
it works
Jul 18, 2013 17:03
:)
Jul 18, 2013 17:01
else if ($widget["image_from"] == "custom") {

$post_custom_id = get_post_meta( $row->post_id, $widget['image_custom'], true );

if ( get_post_meta( $post_custom_id, '_wp_attached_file', true ) )
$row->image = get_bloginfo('url') . '/scripts/timthumb.php?src=' . get_bloginfo('url') . '/' . get_post_meta( $post_custom_id, '_wp_attached_file', true ) . '&amp;h=70&amp;w=55&amp;zc=1';
else
$row->image = get_bloginfo('url') . '/scripts/timthumb.php?src=' . get_bloginfo('url') . '/'. '/wp-content/uploads/noimage1.jpg&amp;h=70&amp;w=55&amp;zc=1';
Jul 18, 2013 17:00
all the code i have now
Jul 18, 2013 16:59
ok let me try
Jul 18, 2013 16:58
else if ($widget["image_from"] == "custom") {
Jul 18, 2013 16:55
it display to all the image
Jul 18, 2013 16:53
im tring to do that for a long time but no sucess
Jul 18, 2013 16:50
:(
Jul 18, 2013 16:50
nop :9
Jul 18, 2013 16:45
not working
Jul 18, 2013 16:45
if ( get_post_meta( $post_custom_id, '_wp_attached_file', true ) )
$row->image = get_bloginfo('url') .urlencode( '/scripts/timthumb.php?src=' ) .get_bloginfo('url') . '/' .urlencode( get_post_meta( $post_custom_id, '_wp_attached_file', true ) ) .urlencode( '&h=70&w=55&zc=1' );
else
$row->image = get_bloginfo('url') .urlencode( '/scripts/timthumb.php?src=' ) .get_bloginfo('url') . '/'.urlencode( '/wp-content/uploads/noimage1.jpg&amp;h=70&amp;w=55&amp;zc=1' );
Jul 18, 2013 16:45
i have this in code
Jul 18, 2013 16:42
2 seconds
Jul 18, 2013 16:40
ok
Jul 18, 2013 16:40
www.teamviewer.com/en/index.aspx
Jul 18, 2013 16:40
please install that program you will work on my computer to see the code exacly ..if you want
Jul 18, 2013 16:39
how can i get noimage
Jul 18, 2013 16:38
in the theme of GDStar rathing i have

$post_custom_id = get_post_meta($row->post_id, $widget["image_custom"], true);
$row->image = get_bloginfo('url')."/scripts/timthumb.php?src=".get_bloginfo('url')."/wp-content/uploads/"
.get_post_meta($post_custom_id,"_wp_attached_file",true)."&amp;h=70&amp;w=55&amp;zc=1";
Jul 18, 2013 16:37
img_actor - custom field
Jul 18, 2013 16:37
is the custom field of the actors
Jul 18, 2013 16:37
were image_custom' => 'img_actor'
Jul 18, 2013 16:37
this is the code that i add in page to display that
<?php
wp_gdsr_render_rating_results(array('template_id' => 48, 'rows' => 1, 'select' => 'persoane', 'min_votes' => 0, 'min_count' => 0, 'excerpt_words' => 0, 'image_from' => 'custom', 'image_custom' => 'img_actor', 'image_resize_x' => 55, 'image_resize_y' => 70, 'publish_days' => 1, 'rating_size' => '12', 'review_size' => '12', 'rating_thumb_size' => '12'));
?>