Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

DB Viewer: multiple images per entry

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> DB Viewer: multiple images per entry Page: [1]
Login
Message << Older Topic   Newer Topic >>
DB Viewer: multiple images per entry - 10/17/2013 2:29:03 PM   
ComDev

 

Posts: 5735
Joined: 5/12/2006
Status: offline
Hi guys, I'm just cross-posting some useful stuff for all of you who are doing this fantastic job on DB Viewer images:

The viewer supports up to seven photos: one main photo that scales with the size of the window, and two rows of three smaller photos. The db viewer will auto-detect the number of photos available and position them accordingly. The db viewer will look for files named as follows:

<type>_<id>.jpg (as earlier, for the main photo)
<type>_<id>_t1.jpg (thumbnail 1, optional)
<type>_<id>_t2.jpg (ditto)
<type>_<id>_t3.jpg (etc)
<type>_<id>_t4.jpg
<type>_<id>_t5.jpg
<type>_<id>_t6.jpg

So ship with ID# 276, thumbnail photo #2 would be named Ship_276_t2.jpg etc etc.

In addition, I strongly recommend that you also make a description file where you credit the photo source. For the sake of fair usage, credits, etc etc. E.g.:

Photo 1: <Blablah>
Photo 2: <Blablah>
Photo 3: <Blablah>
Photo 4: <Blablah>
etc

Those photos that are public domain etc should just say 'Public Domain' or 'Internet' or something similar.

Here's a quick screenshot showing how the DB Viewer will look with all seven photos in place.






Four photos:





< Message edited by emsoy -- 10/17/2013 2:31:05 PM >


_____________________________



Developer "Command: Modern Air/Naval Operations" project!
Post #: 1
RE: DB Viewer: multiple images per entry - 10/17/2013 7:11:41 PM   
El Savior

 

Posts: 337
Joined: 7/31/2003
From: Finland
Status: offline
Fantastic stuff!

Uber cool option to add several photos for each platform. I'm currently working on Finland military picture pack. Still scanning and collect photos from several sources. This will take some time...

_____________________________

El Savior

(in reply to ComDev)
Post #: 2
RE: DB Viewer: multiple images per entry - 10/18/2013 10:08:40 PM   
#Grumble


Posts: 111
Joined: 8/15/2013
Status: offline
Really great!

But actually I'm looking for a condensed look, where I can have both eye candy and the main unit data on the first page. Something like that was (accidentally?) possible with the beta versions viewer using smaller images. See build 430 example below.

The thumbnails are great, but if I don't have a main picture then thumbnails are not displayed at all, so placing just a XXXX_t1.jpg does not work.
I tried with a 0 byte main picture, but the viewer then displays an empty frame stretched to window size.

How about a <type>_<id>_l1.jpg and <type>_<id>_r1.jpg thumbnail?
As top-left and top-right adjusted, non-scaling thumbnails, inline in the General Description text?






Attachment (1)

(in reply to ComDev)
Post #: 3
RE: DB Viewer: multiple images per entry - 10/18/2013 10:44:16 PM   
smudge56

 

Posts: 667
Joined: 1/17/2009
From: UK
Status: offline
That looks brilliant.

(in reply to #Grumble)
Post #: 4
RE: DB Viewer: multiple images per entry - 10/19/2013 6:50:05 AM   
ComDev

 

Posts: 5735
Joined: 5/12/2006
Status: offline
Oki doki, gimme a few days and I'll see what I can come up with. Having a third category of photos types might not be such a bad idea.

Currently busy kicking out the updated db and doing the speed/altitude stuff. Also have another couple DB Viewer mods to do, will bundle this one with those.

_____________________________



Developer "Command: Modern Air/Naval Operations" project!

(in reply to smudge56)
Post #: 5
RE: DB Viewer: multiple images per entry - 10/19/2013 11:07:41 AM   
CV60


Posts: 992
Joined: 10/1/2012
Status: offline
I like the look of the previous build. However, the eye candy is important. How about something with hotlinks to additional pictures? Additionally, some systems, like SAMs really have multiple parts: Launcher, acquisition radar, etc. Possibly 2 versions of viewers: One for single element systems, that hotlinks to the eye candy, and one with multiple photos for SAMs?

(in reply to #Grumble)
Post #: 6
RE: DB Viewer: multiple images per entry - 11/4/2013 9:59:31 PM   
#Grumble


Posts: 111
Joined: 8/15/2013
Status: offline
hej Ragnar
any progress on this?
thanks.

(in reply to ComDev)
Post #: 7
RE: DB Viewer: multiple images per entry - 11/5/2013 5:18:55 AM   
ComDev

 

Posts: 5735
Joined: 5/12/2006
Status: offline
Sorry, have spent all my Command time on Speed/Altitude settings. Have bundled several DB Viewer to-do items and will get started on these very very soon.

Thanks for the bump

_____________________________



Developer "Command: Modern Air/Naval Operations" project!

(in reply to #Grumble)
Post #: 8
RE: DB Viewer: multiple images per entry - 2/9/2014 11:40:14 AM   
ComDev

 

Posts: 5735
Joined: 5/12/2006
Status: offline
...at last!

The Database Viewer will now also handle inlined photos as you suggested - up to four in total, 200 px in size.

The photos will have to be named as follows:

<type>_<id>_i1.jpg (inlined photo 1, optional)
<type>_<id>_i2.jpg (ditto)
<type>_<id>_i3.jpg (etc)
<type>_<id>_i4.jpg

Thanks again for your fantastic effort guys





Attachment (1)

< Message edited by emsoy -- 2/9/2014 12:41:29 PM >


_____________________________



Developer "Command: Modern Air/Naval Operations" project!

(in reply to ComDev)
Post #: 9
RE: DB Viewer: multiple images per entry - 2/9/2014 1:53:00 PM   
Af1352pasha

 

Posts: 308
Joined: 9/17/2010
Status: offline
That is not working for me!! (at least)

Build 489 ,DB404 or DB405

sample files:
Ship_673
Ship_673_i1
Ship_673_i2
Ship_673_i3
Ship_673_i4


(in reply to ComDev)
Post #: 10
RE: DB Viewer: multiple images per entry - 2/11/2014 3:55:54 PM   
Af1352pasha

 

Posts: 308
Joined: 9/17/2010
Status: offline
same problem in B490

inline photo did not appear!, is there any thing I missed?


(in reply to Af1352pasha)
Post #: 11
RE: DB Viewer: multiple images per entry - 2/11/2014 7:51:35 PM   
thewood1

 

Posts: 6529
Joined: 11/27/2005
Status: offline
I noticed you have a file like this..._ix...as your second file. Ragner had it as his first. Just a stab in the dark.

(in reply to Af1352pasha)
Post #: 12
RE: DB Viewer: multiple images per entry - 2/11/2014 8:33:12 PM   
ComDev

 

Posts: 5735
Joined: 5/12/2006
Status: offline
Will be included in B491

_____________________________



Developer "Command: Modern Air/Naval Operations" project!

(in reply to thewood1)
Post #: 13
RE: DB Viewer: multiple images per entry - 3/14/2014 4:47:39 PM   
#Grumble


Posts: 111
Joined: 8/15/2013
Status: offline
Indented (inline in description text) DB picture are back, since b498.
The below pic was taken with b501.
Thanks Ragnar!

!! From Ragnar: Please note that the indented photos are part of the text element so also requires a description file to be present.






Attachment (1)

(in reply to ComDev)
Post #: 14
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> DB Viewer: multiple images per entry Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

1.563