Adding album/performer image from url

Have a good idea ? Want to suggest something ? Have a couple of lines of code to back it up ?
Post it here !

Adding album/performer image from url

Postby jesperts on 31-03-2010 11:23

If BING and Last.fm doesn't return anything usefull, you can find an imageurl yourself.

Append the following code to the "disp_images.php" (Approx on line 123)

Code: Select all
   
// Type an url - Jesper S 31.03.2010
echo std_table("ampjuke_content_table","ampjuke_content4");
$tabel4=1;
echo '<FORM method="get" action="index.php?what=images&type='.$type.'&special='.$special.'&act=replace"';   
echo '<input type="hidden" name="what" value="images">';
echo '<input type="hidden" name="type" value="'.$type.'">';
echo '<input type="hidden" name="special" value="'.$special.'">';
echo '<input type="hidden" name="act" value="replace">';
echo '<tr><td>Url:</td><td><input type="text" class="tfield" name="new_img" size="60"</td></tr>';
echo '<tr><td align="center"><input type="submit" value="Use Url"></td></tr>';
echo '</FORM></table>';
jesperts
Hangaround
Hangaround
 
Posts: 12
Joined: 09-09-2009 11:06
Location: Denmark

Re: Adding album/performer image from url

Postby Michael on 06-04-2010 16:31

Great enhancement. Clean, simple, efficient. Thanks!

//Michael.
User avatar
Michael
Site Admin
Site Admin
 
Posts: 449
Joined: 03-07-2007 13:46
Location: Denmark


Return to Requests / suggestions

Who is online

Users browsing this forum: No registered users and 2 guests

cron