Author Topic: How to show as thumbnail files with .mp3 extension instead of .jpg?  (Read 4321 times)

0 Members and 1 Guest are viewing this topic.

Offline Kurman

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • www.kurman.ru
Hi men!

I have 2 questions:

1 - Can anyone give an advice how to show on 4images thumbnail files with .mp3 extension instead of .jpg?

Actually I want to play mp3 files without going to details.html.
While viewing contetns of a category we would listen to music only by clicking on thumbnail (without changing directory after clicking)

2 - How can we see a detailed image and listen to music linked exactly to this image? And after, by going to the next image we could listen another music, linked to the second image.. and so..?

I think we could make it in this way:
If we could use as thumbnails files with mp3 extension, then we would change template to view thumbnail and an image on the same page and get the ability to see an image and listen to its music(uploaded manually as thumbnail) at the same time. But 4images doesnt support other extensions fot thumbnails except .jpg format.

What do you think, how can we do it?

########################

Solved.
« Last Edit: July 26, 2009, 09:54:31 AM by Kurman »
4images running as a music portal http://music.kurman.ru/

Offline Kurman

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • www.kurman.ru
Re: How to show as thumbnail files with .mp3 extension instead of .jpg?
« Reply #1 on: July 26, 2009, 09:35:24 AM »
I could not open topic in Mods & Plugins (Relises & Support) thread, so posting here. If moderators find it usefull, they can move this topic.

[MOD] Read and listen to lecturer at the same time

How to view image and play music, attached exactly to it. So, while listing/viewing images we can see a proper image and listen to its music simultaneously. And so-so..

Without any manipulations or changes in 4images code.

We will use only [Mod] Different cat templates / Verschiedene Kategorie Templates (but if you don't need another detail.html, you may not instal it, our manupulations do not depend upon any MOD)

#########################
1 - make your category (for example it's is named 10 at your server (/data/media/10 - your directory and folder of your Category),
2 - upload there your mp3's and recognise them by 4images (by running check new images)
3 - upload thumbnails to their directory (in example it's located: /data/thumbnails/10)
5 - make any folder in your directory /data/media/10/ and upload there your image files to be view while listen to music (for example /data/media/10/images). You can as well use your /big folder if you've it already.
5 - in detail.html (or optional: make your own detail_10.html according to [Mod] Different cat templates / Verschiedene Kategorie Templates, and in this template) add something like this: <img src="/data/media/10/big/{image_name}.jpg">

All your files must have identical filenames (except extension) for example:
page1.jpg (thumbnail, located in /data/thumbnails/10/)
page1.mp3 (audio file located in /data/media/10/)
page1.jpg (image file located in /data/media/10/big/)

######################### end

So, when you click on any thumbnail of your category, you'll see image (taked from /big filder) and listen to music (uploaded as usual).

Demo you can see here.
« Last Edit: August 21, 2009, 10:34:27 PM by Kurman »
4images running as a music portal http://music.kurman.ru/

Rembrandt

  • Guest
Re: How to show as thumbnail files with .mp3 extension instead of .jpg?
« Reply #2 on: July 27, 2009, 12:03:39 AM »
Hi!
...2 - How can we see a detailed image and listen to music linked exactly to this image? And after, by going to the next image we could listen another music, linked to the second image.. and so..?...

http://www.4homepages.de/forum/index.php?topic=25413.msg139206#msg139206

mfg Andi