$post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID') ); if ($images) { $num_of_images = count($images); if ($offset > 0) : $start = $offset--; else : $start = 0; endif; if ($limit > 0) : $stop = $limit+$start; else : $stop = $num_of_images; endif; $i = 0; foreach ($images as $image) { if ($start <= $i and $i < $stop) { $img_title = $image->post_title; // title. $img_description = $image->post_content; // description. $img_caption = $image->post_excerpt; // caption. $img_url = wp_get_attachment_url($image->ID); // url of the full size image. $attachment_url = get_attachment_link($image->ID); // url of the atttachment. $preview_array = image_downsize( $image->ID, 'thumbnail' ); $img_preview = $preview_array[0]; // thumbnail or medium image to use for preview. /////////////////////////////////////////////////////////// // This is where you'd create your custom image/link/whatever tag using the variables above. // This is an example of a basic image tag using this method. ?> Beaches at Rhodos {$image[1]} × {$image[2]}"; } /* Join the links in a string and return. */ return join( ' / ', $links ); } /* ========================== Function image 2 ========================== */ function singleimages($size = 'medium', $limit = '0', $offset = '0') { global $post; $images = get_children( array('post_parent' => $post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID') ); if ($images) { $num_of_images = count($images); if ($offset > 0) : $start = $offset--; else : $start = 0; endif; if ($limit > 0) : $stop = $limit+$start; else : $stop = $num_of_images; endif; $i = 0; foreach ($images as $image) { if ($start <= $i and $i < $stop) { $img_title = $image->post_title; /*title.*/ $img_description = $image->post_content; /*description.*/ $img_caption = $image->post_excerpt; /*caption.*/ $img_size = wp_get_attachment_image_src( $image->ID, 'medium' ); /* image size */ $img_url = wp_get_attachment_url($image->ID); /*url of the full size image.*/ $post_url = get_permalink($post->ID); /*url of the post.*/ $attachment_url = get_attachment_link($image->ID); /*url of the atttachment.*/ $attlink = get_attachment_link($att->ID); $preview_array = image_downsize( $image->ID, 'medium' ); /*thumbnail or medium or large image to use for preview.*/ $img_preview = $preview_array[0]; /* This is where you'd create your custom image/link/whatever tag using the variables above. This is an example of a basic image tag using this method. */?>

Beaches at Rhodos

Rhodos

in Greece is the largest, with a population of around 120,000, also the most populated of the islands in the Dodecahedron. It is located approx. 500 km from Piraeus. It is one of the major Greek islands with an area of 1400 km3. The longest part is about 80 km and about 40 km across. The coastline is more than 220 km. the island is mountainous – the highest point 1215 meters – with lovely flat areas and valleys and sandy beaches.

Rhodos

300 days of sunshine and a mild climate has made Rhodos a popular tourist destination. The approx. 110,000 local inhabitants, of whom more than 60,000 lives in Rhodos Town, is visited by nearly 1.5 million tourists a year. Many, of course, because of the lovely climate.

Incoming search terms:

rhodos beachesrhodos beachbeaches rhodosrhodos bilder $post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID') ); if ($images) { $num_of_images = count($images); if ($offset > 0) : $start = $offset--; else : $start = 0; endif; if ($limit > 0) : $stop = $limit+$start; else : $stop = $num_of_images; endif; $i = 0; foreach ($images as $image) { if ($start <= $i and $i < $stop) { $img_title = $image->post_title; // title. $img_description = $image->post_content; // description. $img_caption = $image->post_excerpt; // caption. $img_url = wp_get_attachment_url($image->ID); // url of the full size image. $attachment_url = get_attachment_link($image->ID); // url of the atttachment. $preview_array = image_downsize( $image->ID, 'thumbnail' ); $img_preview = $preview_array[0]; // thumbnail or medium image to use for preview. /////////////////////////////////////////////////////////// // This is where you'd create your custom image/link/whatever tag using the variables above. // This is an example of a basic image tag using this method. ?> Rhodos beaches {$image[1]} × {$image[2]}"; } /* Join the links in a string and return. */ return join( ' / ', $links ); } /* ========================== Function image 2 ========================== */ function singleimages($size = 'medium', $limit = '0', $offset = '0') { global $post; $images = get_children( array('post_parent' => $post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID') ); if ($images) { $num_of_images = count($images); if ($offset > 0) : $start = $offset--; else : $start = 0; endif; if ($limit > 0) : $stop = $limit+$start; else : $stop = $num_of_images; endif; $i = 0; foreach ($images as $image) { if ($start <= $i and $i < $stop) { $img_title = $image->post_title; /*title.*/ $img_description = $image->post_content; /*description.*/ $img_caption = $image->post_excerpt; /*caption.*/ $img_size = wp_get_attachment_image_src( $image->ID, 'medium' ); /* image size */ $img_url = wp_get_attachment_url($image->ID); /*url of the full size image.*/ $post_url = get_permalink($post->ID); /*url of the post.*/ $attachment_url = get_attachment_link($image->ID); /*url of the atttachment.*/ $attlink = get_attachment_link($att->ID); $preview_array = image_downsize( $image->ID, 'medium' ); /*thumbnail or medium or large image to use for preview.*/ $img_preview = $preview_array[0]; /* This is where you'd create your custom image/link/whatever tag using the variables above. This is an example of a basic image tag using this method. */?>

Rhodos beaches

$post->post_parent, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID') ); if ($images) { $num_of_images = count($images); if ($offset > 0) : $start = $offset--; else : $start = 0; endif; if ($limit > 0) : $stop = $limit+$start; else : $stop = $num_of_images; endif; $i = 0; foreach ($images as $image) { if ($start <= $i and $i < $stop) { $img_title = $image->post_title; // title. $img_description = $image->post_content; // description. $img_caption = $image->post_excerpt; // caption. $img_url = wp_get_attachment_url($image->ID); // url of the full size image. $attachment_url = get_attachment_link($image->ID); // url of the atttachment. $preview_array = image_downsize( $image->ID, 'thumbnail' ); $img_preview = $preview_array[0]; // thumbnail or medium image to use for preview. /////////////////////////////////////////////////////////// // This is where you'd create your custom image/link/whatever tag using the variables above. // This is an example of a basic image tag using this method. ?> Rhodos {$image[1]} × {$image[2]}"; } /* Join the links in a string and return. */ return join( ' / ', $links ); } /* ========================== Function image 2 ========================== */ function singleimages($size = 'medium', $limit = '0', $offset = '0') { global $post; $images = get_children( array('post_parent' => $post->ID, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID') ); if ($images) { $num_of_images = count($images); if ($offset > 0) : $start = $offset--; else : $start = 0; endif; if ($limit > 0) : $stop = $limit+$start; else : $stop = $num_of_images; endif; $i = 0; foreach ($images as $image) { if ($start <= $i and $i < $stop) { $img_title = $image->post_title; /*title.*/ $img_description = $image->post_content; /*description.*/ $img_caption = $image->post_excerpt; /*caption.*/ $img_size = wp_get_attachment_image_src( $image->ID, 'medium' ); /* image size */ $img_url = wp_get_attachment_url($image->ID); /*url of the full size image.*/ $post_url = get_permalink($post->ID); /*url of the post.*/ $attachment_url = get_attachment_link($image->ID); /*url of the atttachment.*/ $attlink = get_attachment_link($att->ID); $preview_array = image_downsize( $image->ID, 'medium' ); /*thumbnail or medium or large image to use for preview.*/ $img_preview = $preview_array[0]; /* This is where you'd create your custom image/link/whatever tag using the variables above. This is an example of a basic image tag using this method. */?>

Rhodos

You might also like these post :

Skriv et svar