This seems like a simple question to answer but it puzzles me how to link to images within a custom block. I'm just trying to stick some images in a sidebar within a block. I've tried an IMG tag with various paths and I've tried views with moderate success.

Isn't there a file upload module that will place an image into a block or doesn't the wysiwyg editor have a feature to upload images onto a page or block?

mark

Comments

HI, Since blocks have input

HI,

Since blocks have input format switch and wysiwyg editors (like ckeditor, for example) could be attached to input format, you can easily use wysiwyg in custom block which gives you image upload facilities via wysiwyg image insert tool (imce or ckfinder or whatever).

displaying view fields

What should work easily doesn't. I have a content type with a field called image and its type set to image. When I upload some images and then go to views and select Fields under Format. I then select the image field under Fields. If I set the image style to original image it appears ok but when I set the image style to thumbnail it shows nothing.

mark

Aha, that's different story:

Aha, that's different story: thought you made custom block without Views. When your question sounds like: why my thumbnails weren't generated/displayed. There are several reasons for that. Did you observe Drupal watchdog? Does Imagecache (mean Media -> Image styles/File system/Image toolkit) work? Try to start from these questions.

Not sure

Not sure what you mean by Drupal watchdog or Image toolkit but yes my thumbnail image style setting in views doesn't work. In fact my other styles don't work either only original image setting.

mark

Trying this

I've made a template suggestion called page--gallery-images.tpl.php by copying and renaming the page.tpl.php file and am trying to simply place an IMG tag directly on the page. I've commented out the print render $page content and just inserted an IMG tag.

I'm not getting anything displayed. Could this be the path to the file in the src attribute on the IMG tag and what would that be?

mark

I see. It would be hard to

I see. It would be hard to explain since you have quite discrete Drupal knowledge. It would be better if someone examine your installation form inside, using superadmin (drupal user1) permissions. There are some configuration things inside Drupal admin area which need to be checked prior to custom templates implementation.

How about you

Could you examine my Drupal installation? You could go in as User 1, as you said.

mark

The real problem

I'm not so much concerned with my Drupal installation right now as much as I am about setting image styles (original, large, medium, thumbnail) from within the views interface. I can set them to original and they display fine but any other style and they don't.

mark

Yes, sure, please PM me site

Yes, sure, please PM me site url and access details.

Site url

user 1

As user 1 you will need my username and password. I'm a little leery about making it public.

mark

you might use my account's

you might use my account's contact form to contact me actually.

Your server isn't able to

Your server isn't able to generate image derivatives due to 500 internal server error (and run cron as well). You would want to contact your server support and ask them to fix it. Details can be found in server's error_log.

Thanks

Thanks for your help. I will call my ISP today.

mark

nobody click here