https://www.icyphoenix.com/viewtopic.php?f=35&t=6667 ----------------------------------- Juve Sat 07 Nov, 2009 01:51 Modified Dload.php ----------------------------------- I want to change dload.php so I can see the image and on index full details beyond [img]http://www.icyphoenix.com/files/images/4640/pic.png[/img] ----------------------------------- KasLimon Sat 07 Nov, 2009 11:11 Re: Modified Dload.php ----------------------------------- I'm sorry but I don't understand what you're asking... Can you try to explain it in other way? Thanks! ----------------------------------- Juve Sat 07 Nov, 2009 15:39 Re: Modified Dload.php ----------------------------------- I want to change dload.php so I can see the image and on index full details beyond [img]http://www.icyphoenix.com/files/images/4640/pic.png[/img] I want the picture of a file to appear on the index under the name [img]http://www.icyphoenix.com/files/images/4640/poza.png[/img] ----------------------------------- Yros Sat 07 Nov, 2009 16:42 Re: Modified Dload.php ----------------------------------- . . . I try to sum up : You want to show the screenshot of the style to appear in the dload index ? ----------------------------------- Juve Sat 07 Nov, 2009 19:10 Re: Modified Dload.php ----------------------------------- i want to appear screenshot to file and the index, just below the name and description ----------------------------------- Yros Sat 07 Nov, 2009 19:12 Re: Modified Dload.php ----------------------------------- Below, on another line ? Or on the same line, like an icon ? Because this last possibility could be much more easier. It just would mean add one ( a column ) into your dload index with the screenshot resized. ----------------------------------- Juve Sun 08 Nov, 2009 10:14 Re: Modified Dload.php ----------------------------------- Somebody help me ? ----------------------------------- KasLimon Sun 08 Nov, 2009 14:15 Re: Modified Dload.php ----------------------------------- Ok, let's see... [b]Open[/b] [i]templates/default/pa_category_body.tpl[/i] [b]Find[/b][code linenumbers=false]   [/code][b]Replace with[/b][code linenumbers=false][/code][b]Find[/b][code linenumbers=false]
{file_rows.FILE_DESC}[/code][b]Replace with[/b][code linenumbers=false]
{file_rows.FILE_DESC}
{L_SCREENSHOTS} {L_SCREENSHOTS}   [/code][b]Find[/b][code linenumbers=false] {L_SCREENSHOTS} {L_SCREENSHOTS}   [/code][b]Replace with[/b][code linenumbers=false][/code][b]Find[/b][code linenumbers=false] [/code][b]Replace with[/b][code linenumbers=false] [/code] Enjoy! ----------------------------------- Yros Sun 08 Nov, 2009 14:52 Re: Modified Dload.php ----------------------------------- [critics] Tshhh ! Thank you KasLimon but, Juve ! When someone try to help you, you could AT LEAST do not ignore him ! We aren't at your disposition and we are voluntary so you could at least consider it and make some efforts to understand AND to be understood when you ask something ! Seriously such kind of mind doesn't make me want to help anyone ... [/critics] ----------------------------------- Juve Mon 09 Nov, 2009 00:52 Re: Modified Dload.php ----------------------------------- [quote user="Yros" post="45819"][critics] Tshhh ! Thank you KasLimon but, Juve ! When someone try to help you, you could AT LEAST do not ignore him ! We aren't at your disposition and we are voluntary so you could at least consider it and make some efforts to understand AND to be understood when you ask something ! Seriously such kind of mind doesn't make me want to help anyone ... [/critics][/quote] What makes you think that odd thank ? saw the message later because I was gone [quote user="KasLimon" post="45818"]Ok, let's see... [b]Open[/b] [i]templates/default/pa_category_body.tpl[/i] [b]Find[/b][code linenumbers=false]   [/code][b]Replace with[/b][code linenumbers=false][/code][b]Find[/b][code linenumbers=false]
{file_rows.FILE_DESC}[/code][b]Replace with[/b][code linenumbers=false]
{file_rows.FILE_DESC}
{L_SCREENSHOTS} {L_SCREENSHOTS}   [/code][b]Find[/b][code linenumbers=false] {L_SCREENSHOTS} {L_SCREENSHOTS}   [/code][b]Replace with[/b][code linenumbers=false][/code][b]Find[/b][code linenumbers=false] [/code][b]Replace with[/b][code linenumbers=false] [/code] Enjoy![/quote] KasLimon thanks very much i have a problem, image appears at normal size and I want to defend the image size small, kind of \ "riseze \" ----------------------------------- Yros Mon 09 Nov, 2009 01:11 Re: Modified Dload.php ----------------------------------- Find : [quote]{L_SCREENSHOTS} {L_SCREENSHOTS}[/quote] Just set the size by adding style="width: XXXpx or XX%;" ( choose if you want to display it in pixel or in % ... Pixel would be better I think in your case. For sample, it will be : [quote]{L_SCREENSHOTS} {L_SCREENSHOTS}[/quote] ( need it on both ) With this code it will set your image to 100*100 px. You also can add a height value for sample : style="width: 250px; height: 100px;" But as your pictures are square ... Width should be enough. About my message, I posted mine one day before yours so I hardly guess that you didn't read it when you opened the topic again but never mind ... ----------------------------------- Juve Mon 09 Nov, 2009 18:55 Re: Modified Dload.php ----------------------------------- [quote user="Yros" post="45829"]Find : [quote]{L_SCREENSHOTS} {L_SCREENSHOTS}[/quote] Just set the size by adding style="width: XXXpx or XX%;" ( choose if you want to display it in pixel or in % ... Pixel would be better I think in your case. For sample, it will be : [quote]{L_SCREENSHOTS} {L_SCREENSHOTS}[/quote] ( need it on both ) With this code it will set your image to 100*100 px. You also can add a height value for sample : style="width: 250px; height: 100px;" But as your pictures are square ... Width should be enough. About my message, I posted mine one day before yours so I hardly guess that you didn't read it when you opened the topic again but never mind ...[/quote] it ok :P thx :mryellow: , resolved