For everything related to documents, images, audio and video.

nopeapi_image code

I’ve recently been working on a nodeapi-based image upload module for 4.7 and introduced it to the dev list. Walkah and Moshe suggested posting the code, so I am putting it here for review.

The image_nodeapi module currently has the following functionality:

- Settings page to determine which nodes should enable image uploads.
- Uses the image functions image_prepare, image_insert and image_update to do all the heavy lifting.
- Allows users to set a caption for the image.
- Default layout of a floated right image with the caption displayed underneath the image on pages.
- Passes the node object to the theme, allowing site admins to over-write presentation of images to fit site specific needs.
- Along these lines, admins could use a case statement in their theme file that would display a different layout for different node types, etc.

nodeapi_image.mysql

-- 
-- Table structure for table `nodeapi_image`
-- 

CREATE TABLE nodeapi_image (
  nid int(10) unsigned NOT NULL default '0',
  caption text,
  PRIMARY KEY  (nid)
) TYPE=MyISAM
/*!40100 DEFAULT CHARACTER SET utf8 */;

nodeapi_image.module


<?php
// $Id: $

/**
* @file nodeapi_image.module
*/

/**
* implementation of hook menu
*
* This just adds the css file.
*/
function nodeapi_image_menu($may_cache){
if (!$may_cache) {
theme_add_style(drupal_get_path('module', 'nodeapi_image') .'/nodeapi_image.css');

Flexinode File Upload Field in 4.7

Hello. I am developing a site for a non profit and need assistance. I have installed Flexinode for Drupal 4.7 and I cannot get the file upload field to work. I created a new content type for submiitting a listing for a Service Organization in which I want to be able to attach files such as PDF files of organizational info/brochures. When I enter in all the info to create the page for an organization I am able to attach the PDF file fine. I preview and publish. but when I view the created submission/page, where it should list the link to the file download, it reads,"eh?'.

Support for truetype fonts

Iam trying to write a content in Telugu (a language for thos who dont know).

The fonts are installed on my system and I can type it in the content . It even looks good on the Preview button. But When I submit the code it shows some question marks...

Anybody had any such similar issues ??

నమస్తె

Driving us crazy! Uploading images and other files

Hello everyone

We've inherited a drupal site www.fighthunger.org and are redeveloping it now. But the attaching an image feature is driving us crazy. We sometimes have to upload the files as many as ten times... they appear to be there then disappear. We've tried all the tricks and workarounds that we can think of... submitting without previewing etc but it's just seems unreliable

We're facing a major update of the content and have a lot of images and other files to upload. Any idea what the problem is?

Audio Module for 4.6 Anywhere??

I'm looking for the 4.6 version of the Audio Module. I did a search and saw that there seems to be a problem with Projects or CVS that's keeping it from displaying. Is there a link anywhere that will let me download it directly in the meantime??
Appreciate any help you could provide.
Thanks,
RA

YouTube and Google video embedded player's

I am somewhat confused with Drupal is it possible to use the embedded video players from Google and YouTube? I have tried adding the tags so they are allowed, but I still can not get them to show up in my site. I am currently just testing with Drupal. Any help would greatly be appreciated.

Loom001

Pages

Subscribe with RSS Subscribe to RSS - Deprecated - Media and document management