- This topic is empty.
-
AuthorPosts
-
September 3, 2012 at 9:56 am #39637
nathan2012
MemberHey guys have a question, hopefully someone here can help. I have a CSS site I am modifying into a WordPress theme. I have created the pages and added in the markup through code view in dashboard. However the images are not appearing. I have tried using
tags and the hook to replace the path of the img src. But no joy, any ideas?
Thanks in advance
September 3, 2012 at 9:58 am #109209nathan2012
MemberThat’s supposed to be code tags.. Sorry
September 3, 2012 at 10:19 am #109213chrisburton
ParticipantSeptember 3, 2012 at 10:36 am #109214nathan2012
MemberYep that’s the exact php hook I’ve been using. But the image doesn’t appear. Just the border that goes around it.
September 3, 2012 at 10:38 am #109215chrisburton
Participant@nathan2012 Except you have a space between blog and info and you’re also using ‘directory’ which I don’t think is accurate. I forgot to echo that out also, so try this
Edit: If you’re adding this inside the HTML editor in the backend, it’s not going to work as WordPress doesn’t support this.
September 3, 2012 at 12:45 pm #109165nathan2012
MemberOkay yes sorry that was just me typing from memory on my iPhone. Yes I have been using the wordpress HTML editor. What is the method to add images then as I have different images for each page?
Thanks
September 3, 2012 at 1:56 pm #109154chrisburton
Participant@nathan2012 I’m not sure how you constructed your page or what the images are for. I would need more information.
September 3, 2012 at 2:38 pm #109147nathan2012
MemberThey are just images I have added to show a product. I want to add a lightbox type gallery plug in but that will come later. Just a basic img and a class to float it left at present. each page has at least two images which will be clicked on to make them larger. I just want to know how I go about showing images on each page when the images are different for each page so I can’t put them in my themes shared header. Hope that makes sense lol.
Thanks again Christopher
September 3, 2012 at 2:40 pm #109148nathan2012
MemberNot sure if it makes much difference but my images are stored in my theme directory
September 3, 2012 at 3:17 pm #109149chrisburton
Participant@nathan2012 How many products are we talking about? Wouldn’t it be easier to use Big Cartel or something using a plugin?
September 3, 2012 at 4:04 pm #109137nathan2012
MemberYeah it seems a bit more than what I’m looking for though. I have the site the way I want it and don’t want to get into too many plug ins and code of I can help it. Just thought there would be a way within WordPress to simply insert images. My design is pretty much finished and functional apart from the images :-/
Thanks
September 3, 2012 at 4:13 pm #109134chrisburton
Participant@nathan2012 I think an attachments plugin would be perfect for this if you have an unlimited amount of products.
Here is what I’m using that allows me to upload images and set them as attachments
From there I just add a simple php loop in my theme that spits out the images.
For me, I have a strict reason why I need that plugin. As for you, I don’t understand why you can’t just insert the images into the HTML editor?
September 3, 2012 at 4:26 pm #109136nathan2012
MemberWhen you say HTML editor do you mean within the dashboard or Dreamweaver/Coda? Some I have tried in the with no joy..
September 3, 2012 at 4:35 pm #109130nathan2012
MemberSorry about that meant to put line break in
September 3, 2012 at 4:38 pm #109131nathan2012
MemberPerhaps do I need to add media in through the Media browser to be able to access the image files? Just seems like it cant find the files and I get a place-holder
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.