question on horizontal lay out for displaying pictures

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

question on horizontal lay out for displaying pictures

rethink
hi, i'm a free lance photographer from italy. i'm testing core locally because i want to update my portfolio ( www.davidefarabegoli.com ). i would like to know if is there a way to have the pics displayed one next to each other so you can scroll the page horizontally instead than vertically. i'm using simple2 theme.
thanks for your help
davide
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

markgrahamdunn
yes this is possible
inside the basic.css you will find the class
.thumb {
        float:left;
        margin:0 20px 20px 0;
        height:140px;
}
delete the float:left
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

rethink
hi markgrahamdunn and thanks for the help!
i've tried to delete that but it doesnt change the layout of the gallery.
i also have another big problem: when i try to install core on the server i get that "installer not active" message..
now i'm working on mac os using xampp but when i copy the all core folder on the remote server i get this error:



Warning: require_once() [function.require-once]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/core/user/configuration.php) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a7416320/public_html/index.php on line 9

Warning: require_once(/usr/local/apache/htdocs/core/user/configuration.php) [function.require-once]: failed to open stream: Operation not permitted in /home/a7416320/public_html/index.php on line 9

Fatal error: require_once() [function.require]: Failed opening required '/usr/local/apache/htdocs/core/user/configuration.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a7416320/public_html/index.php on line 9


i can't make it work... i relly like this cms, i really want to fix this... any help is appreciated
davide
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

markgrahamdunn
could you provide me the url so that i can have a look what's the problem?

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

rethink
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

markgrahamdunn
don't know how your server is setup up but i found a link that may provide you detailed information:

http://www.mydigitallife.info/2007/03/15/php-scripts-open_basedir-restriction-in-effect-error/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

rethink
thanks for the help, i'll try to use another host.
anyway is there a chance to make the installation online?
i've also checked the forum but it seems that there is no answer to this question...
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

markgrahamdunn
did you check the readme file in the core package?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

rethink
hey that was the first thing... but it doesn't tell that much... just to upload the folder, add a dot at the htaccess and navigate to core/install...
i've also chmod to 777 the all files and folders... i've always get that message... installer is not active...
i really don't know what to say...
i've tried whith 3 different host: 000webserver, zxq.net and aruba.it
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

Axisds
I can't help you with the installer issue but as for a horizontal scrolling gallery (I'm doing the same thing with my theme) you need just need to do two things.

1. remove the <p class="image form your image.php file
2. find .media in your css and add white-space:nowarp;


That should do it. Play with the css for formatting. I don't know what kind of browsers your trying to support (ie6?) but this may cause some issues. If your having issues add
<raw>#load-content{display:inline-block};
Sidenote: that was my themes secret sauce. enjoy.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

mlaks
Hi,

i,ve being trying to make an horiontal scroll for the images gallery on each entry but failed miserably, :(
Any suggestions? The web, is: www.laksman.com.ar/CORE/

thanks!
best,
m.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

Axisds
Hey, I'm on vacation right now but when I get back in 3 weeks I will take a look at your site if you haven't figured it out by then. Good luck

Burke



On Jul 13, 2010, at 8:01 PM, "mlaks [via Core CMS]" <[hidden email]> wrote:

Hi,

i,ve being trying to make an horiontal scroll for the images gallery on each entry but failed miserably, :(
Any suggestions? The web, is: www.laksman.com.ar/CORE/

thanks!
best,
m.



View message @ http://core-cms.3601340.n2.nabble.com/question-on-horizontal-lay-out-for-displaying-pictures-tp4252454p5288791.html
To unsubscribe from Re: question on horizontal lay out for displaying pictures, click here.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

mlaks
Hi, thanks, i'll try to take care of it, but i can promise no good outcome,  i am just an illustrator.

Have a good vacation, enjoy.

best,
m.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

Axisds
In reply to this post by mlaks
Hello,

Let me begin by saying there are a lot of ways to do this. What makes things difficult is when you have objects with a variable widths and/or if there is not the same number of objects in each group of photos (like I was dealing with at shaunyasaki.com). For example if you look at thehorizontalway.com, there is defined body width in the css because the page always loads 10 objects with the same width so it is possible to calculate the width of the containing div. For dynamic content its a bit trickier and doesn't work for all content types like blocks of text. It does work beautifully for images/portfolio objects though.

First you will need to change your images.php file found in your themes parts/media folder. You want to remove any "wrappers" like the default <p class="media">. You want it to look something like

<img src="<? echo $full_path; ?>" width="<? echo $img_x; ?>" height="<? echo $img_y; ?>" alt="" />

Next, in your css you want to remove the width from your <div id="entry"> and add white-space:no-wrap. This will force the images to align next to each other.

You can then style and clean up any other loose ends. Hope this helps.

Burke Shartsis
On Tue, Jul 13, 2010 at 10:20 PM, Burke Shartsis <[hidden email]> wrote:
Hey, I'm on vacation right now but when I get back in 3 weeks I will take a look at your site if you haven't figured it out by then. Good luck

Burke



On Jul 13, 2010, at 8:01 PM, "mlaks [via Core CMS]" <[hidden email]> wrote:

Hi,

i,ve being trying to make an horiontal scroll for the images gallery on each entry but failed miserably, :(
Any suggestions? The web, is: www.laksman.com.ar/CORE/

thanks!
best,
m.



View message @ http://core-cms.3601340.n2.nabble.com/question-on-horizontal-lay-out-for-displaying-pictures-tp4252454p5288791.html
To unsubscribe from Re: question on horizontal lay out for displaying pictures, click here.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: question on horizontal lay out for displaying pictures

mlaks
hi, how was your vacations?

thanks for answering.

best,
m.
Loading...